com.caucho.env.deploy
Interface DeployInstance

All Superinterfaces:
Dependency
All Known Subinterfaces:
EnvironmentDeployInstance
All Known Implementing Classes:
AbstractDeployInstance, EnterpriseApplication, Host, UnknownWebApp, WebApp

public interface DeployInstance
extends Dependency

Abstract deployment entry.


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
 void setConfigException(java.lang.Throwable e)
          Sets the configuration exception.
 void start()
          Starts the deployment instance
 

Method Detail

getClassLoader

java.lang.ClassLoader getClassLoader()
Returns the deployment class loader.


isModified

boolean isModified()
Returns true if the deployment is modified.

Specified by:
isModified in interface Dependency

isModifiedNow

boolean isModifiedNow()
Returns true if the deployment is modified, forcing a check.


logModified

boolean logModified(java.util.logging.Logger log)
Logs the reason for modification

Specified by:
logModified in interface Dependency

isDeployIdle

boolean isDeployIdle()
Returns true if the deployment can be removed.


setConfigException

void setConfigException(java.lang.Throwable e)
Sets the configuration exception.


getConfigException

java.lang.Throwable getConfigException()
Gets the configuration exception.


start

void start()
Starts the deployment instance


destroy

void destroy()
Destroys the deployment instance