|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.env.deploy.DeployController<I>
com.caucho.env.deploy.ExpandDeployController<I>
com.caucho.env.deploy.EnvironmentDeployController<Host,HostConfig>
com.caucho.server.host.HostController
public class HostController
A configuration entry for a host
Field Summary |
---|
Fields inherited from class com.caucho.env.deploy.ExpandDeployController |
---|
APPLICATION_HASH_PATH |
Fields inherited from class com.caucho.env.deploy.DeployController |
---|
_lifecycle, REDEPLOY_CHECK_INTERVAL |
Constructor Summary | |
---|---|
HostController(java.lang.String id,
Path rootDirectory,
java.lang.String hostName,
HostContainer container)
|
Method Summary | |
---|---|
void |
addDepend(Path depend)
Adds a dependent file. |
void |
addExtHostAlias(java.lang.String name)
Adds an extension host alias, e.g. |
void |
addExtHostAliasRegexp(java.util.regex.Pattern name)
Adds an extension host alias, e.g. |
void |
addHostAlias(java.lang.String name)
Adds a host alias. |
protected void |
configureInstance(Host host)
Creates the host. |
boolean |
equals(java.lang.Object o)
Returns equality. |
protected void |
extendJMXContext(java.util.Map<java.lang.String,java.lang.String> context)
|
HostMXBean |
getAdmin()
Returns the host admin. |
DeployControllerType |
getControllerType()
Returns the controller type |
protected DeployControllerAdmin |
getDeployAdmin()
Returns the deploy admin. |
java.util.ArrayList<java.lang.String> |
getHostAliases()
Returns the host aliases. |
java.lang.String |
getHostName()
Returns the host's canonical name |
protected java.util.logging.Logger |
getLog()
Returns the appropriate log for debugging. |
protected java.lang.String |
getMBeanId()
Returns the "name" property. |
java.lang.String |
getName()
Returns the Resin host name. |
protected void |
initBegin()
Initialize the entry. |
protected Host |
instantiateDeployInstance()
Creates a new instance of the host object. |
boolean |
isNameMatch(java.lang.String name)
Returns true for a matching name. |
void |
merge(DeployControllerApi<Host> newControllerV)
Merges with the old controller. |
void |
setContainer(HostContainer container)
|
void |
setRegexp(java.util.regex.Pattern regexp)
Sets the regexp pattern |
void |
setRegexpName(java.lang.String name)
Returns the host's canonical name |
void |
setRootDirectoryPattern(java.lang.String rootDirectoryPattern)
Sets the root directory pattern |
java.lang.String |
toString()
Returns a printable view. |
Methods inherited from class com.caucho.env.deploy.EnvironmentDeployController |
---|
addConfigDefault, configureInstanceVariables, destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, fillInitList, getArchivePath, getClassPath, getConfig, getConfigException, getErrorMessage, getMBean, getMBeanTypeName, getObjectName, getPrologue, getRepositoryMetaData, getVariableMap, initEnd, setConfig, setConfigException, setPrologue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HostController(java.lang.String id, Path rootDirectory, java.lang.String hostName, HostContainer container)
Method Detail |
---|
public void setContainer(HostContainer container)
public java.lang.String getName()
public java.lang.String getHostName()
public void setRegexpName(java.lang.String name)
public void addHostAlias(java.lang.String name)
public void addExtHostAlias(java.lang.String name)
public java.util.ArrayList<java.lang.String> getHostAliases()
public void addExtHostAliasRegexp(java.util.regex.Pattern name)
public void setRegexp(java.util.regex.Pattern regexp)
public DeployControllerType getControllerType()
DeployControllerApi
getControllerType
in interface DeployControllerApi<Host>
getControllerType
in class DeployController<Host>
public void setRootDirectoryPattern(java.lang.String rootDirectoryPattern)
public void addDepend(Path depend)
public HostMXBean getAdmin()
protected DeployControllerAdmin getDeployAdmin()
getDeployAdmin
in class EnvironmentDeployController<Host,HostConfig>
protected void initBegin()
initBegin
in class DeployController<Host>
protected java.lang.String getMBeanId()
getMBeanId
in class EnvironmentDeployController<Host,HostConfig>
public boolean isNameMatch(java.lang.String name)
isNameMatch
in interface DeployControllerApi<Host>
isNameMatch
in class EnvironmentDeployController<Host,HostConfig>
public void merge(DeployControllerApi<Host> newControllerV)
merge
in interface DeployControllerApi<Host>
merge
in class EnvironmentDeployController<Host,HostConfig>
protected Host instantiateDeployInstance()
instantiateDeployInstance
in class DeployController<Host>
protected void configureInstance(Host host) throws java.lang.Exception
configureInstance
in class EnvironmentDeployController<Host,HostConfig>
java.lang.Exception
protected void extendJMXContext(java.util.Map<java.lang.String,java.lang.String> context)
extendJMXContext
in class EnvironmentDeployController<Host,HostConfig>
protected java.util.logging.Logger getLog()
getLog
in class DeployController<Host>
public boolean equals(java.lang.Object o)
equals
in class ExpandDeployController<Host>
public java.lang.String toString()
toString
in class EnvironmentDeployController<Host,HostConfig>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |