Method Summary |
|
public void | addLifecycleListener(LifecycleListener listener) |
protected void | addManifestClassPath() |
protected void | configureInstance(I deployInstance) |
protected boolean | destroy() Destroys the entry. |
protected void | expandArchive() Deploys the entry, e.g. |
public Throwable | getConfigException() |
protected DeployControllerAdmin | getDeployAdmin() Returns the deploy admin. |
final public I | getDeployInstance() Returns the current instance. |
final public String | getId() Returns the controller's id. |
protected Logger | getLog() Returns the appropriate log for debugging. |
protected String | getMBeanId() |
protected String | getMBeanTypeName() |
public ClassLoader | getParentClassLoader() Returns the parent class loader. |
public long | getRedeployCheckInterval() |
public String | getRedeployMode() Returns the redeploy mode. |
public long | getStartTime() Returns the start time of the entry. |
public String | getStartupMode() Returns the startup mode. |
public int | getStartupPriority() Gets the startup priority. |
public String | getState() Returns the state name. |
public void | handleAlarm(Alarm alarm) Handles the redeploy check alarm. |
final public boolean | init() Initialize the entry. |
protected void | initBegin() Initial calls for init. |
protected void | initEnd() Final calls for init. |
abstract protected I | instantiateDeployInstance() Creates an instance. |
public boolean | isActive() Returns true if the instance is in the active state. |
public boolean | isActiveIdle() Returns true if the instance has been idle for longer than its timeout. |
public boolean | isDestroyed() Returns true if the entry is destroyed. |
public boolean | isError() Return true if the instance is in the error state. |
public boolean | isErrorNow() Returns true if there's currently an error. |
public boolean | isModified() Returns true if the entry is modified. |
public boolean | isModifiedNow() Returns true if the entry is modified. |
public boolean | isNameMatch(String name) Returns true if the entry matches. |
public boolean | isStopped() Returns true if the instance is in the stopped state. |
public boolean | isStoppedLazy() |
public boolean | logModified(Logger log) |
protected void | mergeController(DeployController oldController) Merges with the old controller. |
public void | mergeRedeployCheckInterval(long interval) |
public void | mergeRedeployMode(String mode) Merge the redeploy mode. |
public void | mergeStartupMode(String mode) Merge the startup mode. |
public I | request() |
final public void | restart() Force an instance restart from an admin command. |
I | restartImpl() |
public void | setRedeployCheckInterval(Period period) |
public void | setRedeployMode(String mode) Sets the redeploy mode. |
public void | setStartupMode(String mode) Sets the startup mode. |
public void | setStartupPriority(int priority) Sets the startup priority. |
final public void | start() Force an instance start from an admin command. |
protected I | startImpl() Starts the entry. |
public void | startOnInit() Redeploys the entry if it's modified. |
final public void | stop() Stops the controller from an admin command. |
void | stopImpl() Stops the current instance. |
void | stopLazyImpl() Stops the current instance, putting it in the lazy state. |
public I | subrequest() Returns the instance for a subrequest. |
public static String | toRedeployCode(String mode) Converts redeploy mode to code. |
public static String | toStartupCode(String mode) Converts startup mode to code. |
public String | toString() Returns the entry's debug name. |
final public void | update() Update the controller from an admin command. |