|
||||||||||
| 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 DeployInstanceprotected void setClassLoader(java.lang.ClassLoader classLoader)
public boolean isModified()
isModified in interface DeployInstanceisModified in interface Dependencypublic boolean isModifiedNow()
isModifiedNow in interface DeployInstancepublic boolean logModified(java.util.logging.Logger log)
logModified in interface DeployInstancelogModified in interface Dependencypublic boolean isDeployIdle()
isDeployIdle in interface DeployInstancepublic void setConfigException(java.lang.Throwable e)
setConfigException in interface DeployInstancepublic java.lang.Throwable getConfigException()
getConfigException in interface DeployInstancepublic void start()
start in interface DeployInstancepublic void destroy()
destroy in interface DeployInstancepublic 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 | |||||||||