|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.webapp.WebAppContainer
com.caucho.server.host.Host
public class Host
Resin's virtual host implementation.
| Constructor Summary | |
|---|---|
Host(HostContainer parent,
HostController controller,
java.lang.String hostName)
Creates the webApp with its environment loader. |
|
| Method Summary | |
|---|---|
void |
addHostAlias(java.lang.String name)
Adds an alias. |
void |
addHostAliasRegexp(java.lang.String name)
Adds an alias. |
Invocation |
buildInvocation(Invocation invocation)
Builds the invocation for the host. |
void |
clearCache()
Clears the cache |
void |
destroy()
Closes the host. |
HostMXBean |
getAdmin()
Returns the admin. |
java.util.ArrayList<java.lang.String> |
getAliasList()
Gets the alias list. |
BamBroker |
getBamBroker()
Returns the bam broker. |
Cluster |
getCluster()
Returns the current cluster. |
java.lang.String |
getConfigETag()
Returns the config etag. |
java.lang.Throwable |
getConfigException()
Gets the config exception. |
EnvironmentClassLoader |
getEnvironmentClassLoader()
Gets the environment class loader. |
Host |
getHost()
Returns the host (as an webApp container) |
java.lang.String |
getHostName()
Returns the canonical host name. |
static Host |
getLocal()
Returns the local host. |
java.lang.String |
getName()
Returns the entry name |
java.lang.String |
getSchema()
Returns the relax schema. |
java.lang.String |
getSecureHostName()
Returns the secure host name. |
Server |
getServer()
Returns the owning server. |
java.lang.String |
getURL()
Returns the URL for the container. |
boolean |
isDefaultHost()
Returns true if matches the default host. |
boolean |
isDeployError()
Returns true if the host deploy was an error |
boolean |
isDeployIdle()
Returns true if the host is idle |
boolean |
isModified()
Returns true if the host is modified. |
boolean |
isModifiedNow()
Returns true if the host is modified. |
boolean |
logModified(java.util.logging.Logger log)
Log the reason for modification. |
void |
setConfigETag(java.lang.String etag)
Returns the config etag. |
void |
setConfigException(java.lang.Throwable e)
Sets the config exception. |
void |
setDocumentDirectory(Path docDir)
Sets the doc dir. |
void |
setRootDirectory(Path rootDir)
Sets the root dir. |
void |
setSecureHostName(java.lang.String secureHostName)
Sets the secure host name. |
void |
start()
Starts the host. |
boolean |
stop()
Stops the host. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.caucho.loader.EnvironmentBean |
|---|
getClassLoader |
| Methods inherited from interface com.caucho.server.deploy.EnvironmentDeployInstance |
|---|
init |
| Methods inherited from interface com.caucho.server.deploy.DeployInstance |
|---|
getClassLoader |
| Constructor Detail |
|---|
public Host(HostContainer parent,
HostController controller,
java.lang.String hostName)
| Method Detail |
|---|
public static Host getLocal()
public java.lang.String getName()
public java.lang.String getHostName()
getHostName in class WebAppContainerpublic Host getHost()
getHost in class WebAppContainerpublic java.lang.String getSecureHostName()
public void setSecureHostName(java.lang.String secureHostName)
public BamBroker getBamBroker()
public java.lang.String getSchema()
getSchema in interface SchemaBeanpublic java.lang.String getURL()
getURL in class WebAppContainerpublic void addHostAlias(java.lang.String name)
public java.util.ArrayList<java.lang.String> getAliasList()
public void addHostAliasRegexp(java.lang.String name)
public boolean isDefaultHost()
public EnvironmentClassLoader getEnvironmentClassLoader()
public void setRootDirectory(Path rootDir)
setRootDirectory in interface EnvironmentDeployInstancesetRootDirectory in class WebAppContainerpublic void setDocumentDirectory(Path docDir)
setDocumentDirectory in class WebAppContainerpublic void setConfigException(java.lang.Throwable e)
setConfigException in interface DeployInstancesetConfigException in class WebAppContainerpublic java.lang.Throwable getConfigException()
getConfigException in interface DeployInstancepublic Server getServer()
public Cluster getCluster()
public java.lang.String getConfigETag()
public void setConfigETag(java.lang.String etag)
public HostMXBean getAdmin()
public void start()
start in interface DeployInstancestart in class WebAppContainerpublic void clearCache()
clearCache in class WebAppContainer
public Invocation buildInvocation(Invocation invocation)
throws java.lang.Exception
buildInvocation in interface DispatchBuilderbuildInvocation in class WebAppContainerjava.lang.Exceptionpublic boolean isModified()
isModified in interface DeployInstanceisModified in interface DependencyisModified in class WebAppContainerpublic boolean isModifiedNow()
isModifiedNow in interface DeployInstancepublic boolean logModified(java.util.logging.Logger log)
logModified in interface DeployInstancelogModified in interface Dependencypublic boolean isDeployError()
isDeployError in interface DeployInstancepublic boolean isDeployIdle()
isDeployIdle in interface DeployInstancepublic boolean stop()
stop in class WebAppContainerpublic void destroy()
destroy in interface DeployInstancedestroy in class WebAppContainerpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||