Package | Description |
---|---|
org.glassfish.hk2.runlevel | |
org.glassfish.hk2.runlevel.internal |
Modifier and Type | Interface and Description |
---|---|
interface |
ChangeableRunLevelFuture |
Modifier and Type | Method and Description |
---|---|
RunLevelFuture |
CurrentlyRunningException.getCurrentJob()
Gets the job current in progress
|
RunLevelFuture |
RunLevelController.getCurrentProceeding()
This method will return the current proceedTo that the RunLevelController
is working on, or it will return null if the controller is not currently
moving up or down
|
RunLevelFuture |
RunLevelController.proceedToAsync(int runLevel)
Causes this RunLevelController to move to the specified run level for
all
RunLevel instances, orchestrating the appropriate
lifecycle events. |
Modifier and Type | Method and Description |
---|---|
void |
RunLevelListener.onCancelled(RunLevelFuture currentJob,
int levelAchieved)
Called when an RunLevelController implementation's proceedTo() operation
has been canceled for some reason.
|
void |
RunLevelListener.onError(RunLevelFuture currentJob,
ErrorInformation errorInformation)
Called when a service throws an exception during a proceedTo
operation
|
Constructor and Description |
---|
CurrentlyRunningException(RunLevelFuture runLevelFuture)
Constructor with job that is in progress
|
Modifier and Type | Class and Description |
---|---|
class |
CurrentTaskFuture
This is the implementation of RunLevelFuture.
|
class |
CurrentTaskFutureWrapper
This object is used to wrap the internal CurrentTaskFuture which
is a ChangeableRunLevelFuture.
|
Modifier and Type | Method and Description |
---|---|
RunLevelFuture |
AsyncRunLevelContext.getCurrentFuture()
Gets the current task
|
RunLevelFuture |
RunLevelControllerImpl.getCurrentProceeding() |
RunLevelFuture |
AsyncRunLevelContext.proceedTo(int level)
This method is called to change the proceedTo level of the system
|
RunLevelFuture |
RunLevelControllerImpl.proceedToAsync(int runLevel) |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.