Interface Deployer.Listener
- All Superinterfaces:
 EventListener
- All Known Implementing Classes:
 OSGiDeploymentListener
- Enclosing interface:
 Deployer
- 
Method Summary
Modifier and TypeMethodDescriptiondefault voidonCreated(ContextHandler contextHandler) Called when aContextHandleris first seen by theDeployer.default voidonDeployed(ContextHandler contextHandler) default voidonDeploying(ContextHandler contextHandler) Event called when aContextHandleris added to theContextHandlerCollection.default voidonFailure(ContextHandler contextHandler, Throwable cause) Event called when aContextHandlerisfailed.default voidonRemoved(ContextHandler contextHandler) Called when aContextHandleris last seen by theDeployer.default voidonStarted(ContextHandler contextHandler) Event called when aContextHandlerisstarted.default voidonStarting(ContextHandler contextHandler) Event called when aContextHandlerisstarting.default voidonStopped(ContextHandler contextHandler) Event called when aContextHandlerisstopped.default voidonStopping(ContextHandler contextHandler) Event called when aContextHandlerisstopping.default voidonUndeployed(ContextHandler contextHandler) default voidonUndeploying(ContextHandler contextHandler) Event called when aContextHandleris removed from theContextHandlerCollection. 
- 
Method Details
- 
onCreated
Called when aContextHandleris first seen by theDeployer.- Parameters:
 contextHandler- TheContextHandlerseen.
 - 
onDeploying
Event called when aContextHandleris added to theContextHandlerCollection. AContextHandleris deployed when it is both added andstarted.- Parameters:
 contextHandler- TheContextHandleradded.
 - 
onStarting
Event called when aContextHandlerisstarting.- Parameters:
 contextHandler- TheContextHandlerstarting.
 - 
onStarted
Event called when aContextHandlerisstarted. AcontextHandleris deployed when it is bothaddedand started.- Parameters:
 contextHandler- TheContextHandleradded.
 - 
onDeployed
- Parameters:
 contextHandler- TheContextHandlerdeployed.
 - 
onUndeploying
Event called when aContextHandleris removed from theContextHandlerCollection. AContextHandleris undeployed when it is both removed andstopped.- Parameters:
 contextHandler- TheContextHandlerundeploying.
 - 
onStopping
Event called when aContextHandlerisstopping.- Parameters:
 contextHandler- TheContextHandlerstopping.
 - 
onStopped
Event called when aContextHandlerisstopped.- Parameters:
 contextHandler- TheContextHandlerstopped.
 - 
onUndeployed
- Parameters:
 contextHandler- TheContextHandlerundeployed.
 - 
onFailure
Event called when aContextHandlerisfailed.- Parameters:
 contextHandler- TheContextHandlerthat failed.cause- The cause of the failure.
 - 
onRemoved
Called when aContextHandleris last seen by theDeployer.- Parameters:
 contextHandler- TheContextHandlerseen.
 
 -