com.caucho.server.host
Class HostSingleDeployGenerator

java.lang.Object
  extended by com.caucho.env.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 fillDeployedNames(java.util.Set<java.lang.String> names)
          Returns the deployed keys.
 void generateController(java.lang.String name, java.util.ArrayList<HostController> list)
          Returns the current array of application entries.
 java.lang.Throwable getConfigException()
          Merges the controllers.
 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.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.env.deploy.DeployGenerator
destroy, destroyImpl, environmentBind, environmentConfigure, environmentStart, environmentStop, getDeployContainer, getRedeployMode, getStartupMode, getState, init, isActive, isDestroyed, isModified, logModified, mergeController, setRedeployMode, setStartupMode, start, startImpl, stop, stopImpl, update, updateIfModified
 
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)
Creates the new host deploy.

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>

fillDeployedNames

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

Overrides:
fillDeployedNames in class DeployGenerator<HostController>

generateController

public void generateController(java.lang.String name,
                               java.util.ArrayList<HostController> list)
Returns the current array of application entries.

Overrides:
generateController in class DeployGenerator<HostController>

getConfigException

public java.lang.Throwable getConfigException()
Merges the controllers.

Overrides:
getConfigException in class DeployGenerator<HostController>

toString

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