Interface Deployer
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(ContextHandler contextHandler) Deploy a ContextHandler to the server, and start it if appropriate.default void
redeploy
(ContextHandler oldContextHandler, ContextHandler newContextHandler) Redeploy a ContextHandler to the server, and start it if appropriate.void
undeploy
(ContextHandler contextHandler) Undeploy and stop a ContextHandler.
-
Method Details
-
deploy
@ManagedOperation(value="Deploy the ContextHandler", impact="ACTION") void deploy(ContextHandler contextHandler) Deploy a ContextHandler to the server, and start it if appropriate.- Parameters:
contextHandler
- theContextHandler
to deploy.
-
redeploy
@ManagedOperation(value="Redeploy the ContextHandler", impact="ACTION") default void redeploy(ContextHandler oldContextHandler, ContextHandler newContextHandler) Redeploy a ContextHandler to the server, and start it if appropriate. If possible, this is done atomically without any period of no handler being deployed. However, it maybe implemented as anundeploy(ContextHandler)
followed by adeploy(ContextHandler)
- Parameters:
oldContextHandler
- theContextHandler
to undeploy.newContextHandler
- theContextHandler
to deploy.
-
undeploy
@ManagedOperation(value="Undeploy the ContextHandler", impact="ACTION") void undeploy(ContextHandler contextHandler) Undeploy and stop a ContextHandler.- Parameters:
contextHandler
- theContextHandler
to undeploy.
-