public abstract class AbstractDeployInstance extends java.lang.Object implements DeployInstance
Modifier | Constructor and Description |
---|---|
protected |
AbstractDeployInstance() |
Modifier and Type | Method and Description |
---|---|
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() |
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