Class OSGiDeploymentListener
java.lang.Object
org.eclipse.jetty.osgi.OSGiDeploymentListener
- All Implemented Interfaces:
EventListener
,Deployer.Listener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onDeployed
(ContextHandler contextHandler) void
onDeploying
(ContextHandler contextHandler) Event called when aContextHandler
is added to theContextHandlerCollection
.void
onFailure
(ContextHandler contextHandler, Throwable cause) Event called when aContextHandler
isfailed
.void
onUndeployed
(ContextHandler contextHandler) void
onUndeploying
(ContextHandler contextHandler) Event called when aContextHandler
is removed from theContextHandlerCollection
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.jetty.deploy.Deployer.Listener
onCreated, onRemoved, onStarted, onStarting, onStopped, onStopping
-
Constructor Details
-
OSGiDeploymentListener
public OSGiDeploymentListener()
-
-
Method Details
-
onDeploying
Description copied from interface:Deployer.Listener
Event called when aContextHandler
is added to theContextHandlerCollection
. AContextHandler
is deployed when it is both added andstarted
.- Specified by:
onDeploying
in interfaceDeployer.Listener
- Parameters:
contextHandler
- TheContextHandler
added.
-
onDeployed
Description copied from interface:Deployer.Listener
- Specified by:
onDeployed
in interfaceDeployer.Listener
- Parameters:
contextHandler
- TheContextHandler
deployed.
-
onUndeploying
Description copied from interface:Deployer.Listener
Event called when aContextHandler
is removed from theContextHandlerCollection
. AContextHandler
is undeployed when it is both removed andstopped
.- Specified by:
onUndeploying
in interfaceDeployer.Listener
- Parameters:
contextHandler
- TheContextHandler
undeploying.
-
onUndeployed
Description copied from interface:Deployer.Listener
- Specified by:
onUndeployed
in interfaceDeployer.Listener
- Parameters:
contextHandler
- TheContextHandler
undeployed.
-
onFailure
Description copied from interface:Deployer.Listener
Event called when aContextHandler
isfailed
.- Specified by:
onFailure
in interfaceDeployer.Listener
- Parameters:
contextHandler
- TheContextHandler
that failed.cause
- The cause of the failure.
-