|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.deploy.DeployController<I>
com.caucho.server.deploy.ExpandDeployController<I>
com.caucho.server.deploy.EnvironmentDeployController<Host,HostConfig>
com.caucho.server.host.HostController
public class HostController
A configuration entry for a host
| Nested Class Summary | |
|---|---|
class |
HostController.TestVar
EL variables for the host, when testing for regexp identity . |
class |
HostController.Var
EL variables for the host. |
| Field Summary |
|---|
| Fields inherited from class com.caucho.server.deploy.DeployController |
|---|
_lifecycle, REDEPLOY_AUTOMATIC, REDEPLOY_CHECK_INTERVAL, REDEPLOY_DEFAULT, REDEPLOY_LAZY, REDEPLOY_MANUAL, STARTUP_AUTOMATIC, STARTUP_DEFAULT, STARTUP_LAZY, STARTUP_MANUAL |
| 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. |
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. |
protected HostController |
merge(HostController newController)
Merges two entries. |
protected void |
mergeController(DeployController oldControllerV)
Merges with the old controller. |
void |
setContainer(HostContainer container)
|
void |
setHostName(java.lang.String name)
Sets the host's canonical name |
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.server.deploy.EnvironmentDeployController |
|---|
addConfigDefault, configureInstanceVariables, destroy, environmentBind, environmentConfigure, environmentStart, environmentStop, fillInitList, getArchivePath, getConfig, getConfigException, getMBean, getObjectName, getPrologue, getVariableMap, initEnd, setConfig, setConfigException, setPrologue |
| Methods inherited from class com.caucho.server.deploy.ExpandDeployController |
|---|
addManifestClassPath, expandArchive, getGit, getGitRefPath, getManifest, getManifestAttributes, getRootDirectory, hashCode, removeExpandDirectory, removeExpandDirectory, removeExpandFile, setArchivePath, setExpandCleanupFileSet, setGit, setGitRefPath, setManifestClassLoader, setRootDirectory |
| Methods inherited from class com.caucho.server.deploy.DeployController |
|---|
addLifecycleListener, getDeployInstance, getId, getMBeanTypeName, getParentClassLoader, getRedeployCheckInterval, getRedeployMode, getStartTime, getStartupMode, getStartupPriority, getState, handleAlarm, init, isActive, isActiveIdle, isDestroyed, isError, isErrorNow, isModified, isModifiedNow, isStopped, isStoppedLazy, logModified, mergeRedeployCheckInterval, mergeRedeployMode, mergeStartupMode, request, restart, setRedeployCheckInterval, setRedeployMode, setStartupMode, setStartupPriority, start, startImpl, startOnInit, stop, subrequest, toRedeployCode, toStartupCode, update |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public void setContainer(HostContainer container)
public java.lang.String getName()
public java.lang.String getHostName()
public void setHostName(java.lang.String name)
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 void setRootDirectoryPattern(java.lang.String rootDirectoryPattern)
public void addDepend(Path depend)
public HostMXBean getAdmin()
protected DeployControllerAdmin getDeployAdmin()
getDeployAdmin in class DeployController<Host>protected void initBegin()
initBegin in class DeployController<Host>protected java.lang.String getMBeanId()
getMBeanId in class DeployController<Host>public boolean isNameMatch(java.lang.String name)
isNameMatch in class EnvironmentDeployController<Host,HostConfig>protected HostController merge(HostController newController)
protected void mergeController(DeployController oldControllerV)
mergeController in class EnvironmentDeployController<Host,HostConfig>protected Host instantiateDeployInstance()
instantiateDeployInstance in class DeployController<Host>
protected void configureInstance(Host host)
throws java.lang.Throwable
configureInstance in class EnvironmentDeployController<Host,HostConfig>java.lang.Throwableprotected 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 | |||||||||