com.caucho.server.host
Class HostSingleDeployGenerator

java.lang.Object
  extended by com.caucho.server.deploy.DeployGenerator<HostController>
      extended by com.caucho.server.host.HostSingleDeployGenerator
All Implemented Interfaces:
EnvironmentListener, Dependency

public class HostSingleDeployGenerator
extends DeployGenerator<HostController>

The generator for the host deploy


Constructor Summary
HostSingleDeployGenerator(DeployContainer<HostController> container)
          Creates the new host deploy.
HostSingleDeployGenerator(DeployContainer<HostController> container, HostContainer hostContainer, HostConfig config)
          Creates the new host deploy.
 
Method Summary
protected  void fillDeployedKeys(java.util.Set<java.lang.String> keys)
          Returns the deployed keys.
 HostController generateController(java.lang.String name)
          Returns the current array of application entries.
 java.lang.Throwable getConfigException()
           
 HostContainer getContainer()
          Gets the host container.
protected  java.util.logging.Logger getLog()
          Returns the log.
 java.lang.ClassLoader getParentClassLoader()
          Gets the parent loader.
 void initImpl()
          Initializes the entry.
 HostController mergeController(HostController controller, java.lang.String name)
          Merges the controllers.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.server.deploy.DeployGenerator
destroy, destroyImpl, environmentBind, environmentConfigure, environmentStart, environmentStop, getDeployContainer, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, isModified, logModified, request, setRedeployMode, setStartupMode, start, startImpl, stop, stopImpl, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostSingleDeployGenerator

public HostSingleDeployGenerator(DeployContainer<HostController> container)
Creates the new host deploy.


HostSingleDeployGenerator

public HostSingleDeployGenerator(DeployContainer<HostController> container,
                                 HostContainer hostContainer,
                                 HostConfig config)
                          throws java.lang.Exception
Creates the new host deploy.

Throws:
java.lang.Exception
Method Detail

getContainer

public HostContainer getContainer()
Gets the host container.


getParentClassLoader

public java.lang.ClassLoader getParentClassLoader()
Gets the parent loader.

Overrides:
getParentClassLoader in class DeployGenerator<HostController>

getLog

protected java.util.logging.Logger getLog()
Returns the log.

Overrides:
getLog in class DeployGenerator<HostController>

initImpl

public void initImpl()
Initializes the entry.

Overrides:
initImpl in class DeployGenerator<HostController>

fillDeployedKeys

protected void fillDeployedKeys(java.util.Set<java.lang.String> keys)
Returns the deployed keys.

Overrides:
fillDeployedKeys in class DeployGenerator<HostController>

generateController

public HostController generateController(java.lang.String name)
Returns the current array of application entries.

Overrides:
generateController in class DeployGenerator<HostController>

mergeController

public HostController mergeController(HostController controller,
                                      java.lang.String name)
Merges the controllers.

Overrides:
mergeController in class DeployGenerator<HostController>

getConfigException

public java.lang.Throwable getConfigException()
Overrides:
getConfigException in class DeployGenerator<HostController>

toString

public java.lang.String toString()
Overrides:
toString in class DeployGenerator<HostController>