public interface DeployControllerApi<I extends DeployInstance>
Modifier and Type | Method and Description |
---|---|
void |
addLifecycleListener(LifecycleListener listener)
External lifecycle listeners, so applications can detect deployment
and redeployment.
|
void |
alarm()
Internal notification for modification updates, either from a timer
or a repository notification.
|
void |
close()
Closes the controller
|
I |
getActiveDeployInstance()
Returns the current instance, waiting for active.
|
DeployControllerType |
getControllerType()
Returns the controller type
|
I |
getDeployInstance()
Returns the current instance.
|
java.lang.String |
getId()
Returns the controller's id, typically a tag value like
production/webapp/default/ROOT
|
int |
getStartupPriority()
Gets the startup priority.
|
LifecycleState |
getState()
Returns the state name.
|
boolean |
init()
Initialization of the controller itself
|
boolean |
isNameMatch(java.lang.String name)
Returns true if the entry matches, used for finding a matching web-app
or host.
|
void |
merge(DeployControllerApi<I> newController)
Merging the controller
|
void |
remove()
Remove the controller
|
I |
request()
Returns the instance for a top-level request
|
void |
restart()
Force an instance restart from an admin command.
|
void |
start()
Force an instance start from an admin command.
|
void |
startOnInit()
Start the controller for initialization.
|
void |
stop()
Stops the controller from an admin command.
|
I |
subrequest()
Returns the instance for a subrequest.
|
void |
update()
Check for modification updates, generally from an admin command when
using "manual" redeployment.
|
java.lang.String getId()
boolean isNameMatch(java.lang.String name)
int getStartupPriority()
DeployControllerType getControllerType()
void merge(DeployControllerApi<I> newController)
boolean init()
LifecycleState getState()
I getDeployInstance()
I getActiveDeployInstance()
void startOnInit()
void start()
void stop()
void restart()
void update()
void alarm()
I request()
I subrequest()
void close()
void remove()
void addLifecycleListener(LifecycleListener listener)