|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.deploy.AbstractDeployInstance
public abstract class AbstractDeployInstance
The abstract deployment instance represents a deployed service like a WebApp or a Host. The instrance works with the controller to handle dynamic deployment.
Constructor Summary | |
---|---|
protected |
AbstractDeployInstance()
|
Method Summary | |
---|---|
void |
destroy()
Destroys the deployment instance |
java.lang.ClassLoader |
getClassLoader()
Returns the deployment class loader. |
java.lang.Throwable |
getConfigException()
Gets the configuration exception. |
boolean |
isDeployIdle()
Returns true if the deployment can be removed. |
boolean |
isModified()
Returns true if the deployment is modified. |
boolean |
isModifiedNow()
Returns true if the deployment is modified, forcing a check. |
boolean |
logModified(java.util.logging.Logger log)
Logs the reason for modification |
protected void |
setClassLoader(java.lang.ClassLoader classLoader)
The deployment class loader. |
void |
setConfigException(java.lang.Throwable e)
Sets the configuration exception. |
void |
start()
Starts the deployment instance |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AbstractDeployInstance()
Method Detail |
---|
public java.lang.ClassLoader getClassLoader()
getClassLoader
in interface DeployInstance
protected void setClassLoader(java.lang.ClassLoader classLoader)
public boolean isModified()
isModified
in interface DeployInstance
isModified
in interface Dependency
public boolean isModifiedNow()
isModifiedNow
in interface DeployInstance
public boolean logModified(java.util.logging.Logger log)
logModified
in interface DeployInstance
logModified
in interface Dependency
public boolean isDeployIdle()
isDeployIdle
in interface DeployInstance
public void setConfigException(java.lang.Throwable e)
setConfigException
in interface DeployInstance
public java.lang.Throwable getConfigException()
getConfigException
in interface DeployInstance
public void start()
start
in interface DeployInstance
public void destroy()
destroy
in interface DeployInstance
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |