Package | Description |
---|---|
org.glassfish.hk2.runlevel | |
org.glassfish.hk2.runlevel.internal |
Modifier and Type | Method and Description |
---|---|
RunLevelFuture |
CurrentlyRunningException.getCurrentJob() |
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 controller,
int levelAchieved)
Called when an RunLevelController implementation's proceedTo() operation
has been canceled for some reason
|
void |
RunLevelListener.onError(RunLevelFuture currentJob,
Throwable error)
Called when a service throws an exception during lifecycle
orchestration.
|
void |
RunLevelListener.onProgress(RunLevelFuture currentJob,
int levelAchieved)
Called when the RunLevelController advances to the next level
|
Constructor and Description |
---|
CurrentlyRunningException(RunLevelFuture runLevelFuture) |
Modifier and Type | Class and Description |
---|---|
class |
CurrentTaskFuture |
Modifier and Type | Method and Description |
---|---|
RunLevelFuture |
AsyncRunLevelContext.getCurrentFuture() |
RunLevelFuture |
RunLevelControllerImpl.getCurrentProceeding() |
RunLevelFuture |
AsyncRunLevelContext.proceedTo(int level) |
RunLevelFuture |
RunLevelControllerImpl.proceedToAsync(int runLevel) |
Constructor and Description |
---|
DownAllTheWay(int goingTo,
RunLevelFuture future,
List<ServiceHandle<RunLevelListener>> listeners) |
Copyright © 2015 Oracle Corporation. All rights reserved.