Java Doc for Host.java in  » EJB-Server-resin-3.1.5 » resin » com » caucho » server » host » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » EJB Server resin 3.1.5 » resin » com.caucho.server.host 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.caucho.server.webapp.WebAppContainer
      com.caucho.server.host.Host

Host
public class Host extends WebAppContainer implements EnvironmentBean,Dependency,SchemaBean,EnvironmentDeployInstance(Code)
Resin's virtual host implementation.



Constructor Summary
public  Host(HostContainer parent, HostController controller, String hostName)
     Creates the webApp with its environment loader.

Method Summary
public  voidaddHostAlias(String name)
     Adds an alias.
public  InvocationbuildInvocation(Invocation invocation)
     Builds the invocation for the host.
public  voidclearCache()
    
public  voiddestroy()
     Closes the host.
public  HostMXBeangetAdmin()
     Returns the admin.
public  ArrayList<String>getAliasList()
     Gets the alias list.
public  ClustergetCluster()
     Returns the current cluster.
public  StringgetConfigETag()
     Returns the config etag.
public  ThrowablegetConfigException()
     Gets the config exception.
public  EnvironmentClassLoadergetEnvironmentClassLoader()
     Gets the environment class loader.
public  HostgetHost()
    
public  StringgetHostName()
     Returns the canonical host name.
public static  HostgetLocal()
     Returns the local host.
public  StringgetName()
    
public  StringgetSchema()
     Returns the relax schema.
public  StringgetSecureHostName()
     Returns the secure host name.
public  ServergetServer()
     Returns the owning server.
public  StringgetURL()
     Returns the URL for the container.
public  booleanisDefaultHost()
     Returns true if matches the default host.
public  booleanisDeployError()
    
public  booleanisDeployIdle()
    
public  booleanisModified()
     Returns true if the host is modified.
public  booleanisModifiedNow()
     Returns true if the host is modified.
public  booleanlogModified(Logger log)
     Log the reason for modification.
public  voidsetConfigETag(String etag)
     Returns the config etag.
public  voidsetConfigException(Throwable e)
     Sets the config exception.
public  voidsetDocumentDirectory(Path docDir)
     Sets the doc dir.
public  voidsetRootDirectory(Path rootDir)
     Sets the root dir.
public  voidsetSecureHostName(String secureHostName)
     Sets the secure host name.
public  voidstart()
     Starts the host.
public  booleanstop()
     Stops the host.
public  StringtoString()
    


Constructor Detail
Host
public Host(HostContainer parent, HostController controller, String hostName)(Code)
Creates the webApp with its environment loader.




Method Detail
addHostAlias
public void addHostAlias(String name)(Code)
Adds an alias.



buildInvocation
public Invocation buildInvocation(Invocation invocation) throws Exception(Code)
Builds the invocation for the host.



clearCache
public void clearCache()(Code)
Clears the cache



destroy
public void destroy()(Code)
Closes the host.



getAdmin
public HostMXBean getAdmin()(Code)
Returns the admin.



getAliasList
public ArrayList<String> getAliasList()(Code)
Gets the alias list.



getCluster
public Cluster getCluster()(Code)
Returns the current cluster.



getConfigETag
public String getConfigETag()(Code)
Returns the config etag.



getConfigException
public Throwable getConfigException()(Code)
Gets the config exception.



getEnvironmentClassLoader
public EnvironmentClassLoader getEnvironmentClassLoader()(Code)
Gets the environment class loader.



getHost
public Host getHost()(Code)
Returns the host (as an webApp container)



getHostName
public String getHostName()(Code)
Returns the canonical host name. The canonical host name may include the port.



getLocal
public static Host getLocal()(Code)
Returns the local host.



getName
public String getName()(Code)
Returns the entry name



getSchema
public String getSchema()(Code)
Returns the relax schema.



getSecureHostName
public String getSecureHostName()(Code)
Returns the secure host name. Used for redirects.



getServer
public Server getServer()(Code)
Returns the owning server.



getURL
public String getURL()(Code)
Returns the URL for the container.



isDefaultHost
public boolean isDefaultHost()(Code)
Returns true if matches the default host.



isDeployError
public boolean isDeployError()(Code)
Returns true if the host deploy was an error



isDeployIdle
public boolean isDeployIdle()(Code)
Returns true if the host is idle



isModified
public boolean isModified()(Code)
Returns true if the host is modified.



isModifiedNow
public boolean isModifiedNow()(Code)
Returns true if the host is modified.



logModified
public boolean logModified(Logger log)(Code)
Log the reason for modification.



setConfigETag
public void setConfigETag(String etag)(Code)
Returns the config etag.



setConfigException
public void setConfigException(Throwable e)(Code)
Sets the config exception.



setDocumentDirectory
public void setDocumentDirectory(Path docDir)(Code)
Sets the doc dir.



setRootDirectory
public void setRootDirectory(Path rootDir)(Code)
Sets the root dir.



setSecureHostName
public void setSecureHostName(String secureHostName)(Code)
Sets the secure host name. Used for redirects.



start
public void start()(Code)
Starts the host.



stop
public boolean stop()(Code)
Stops the host.



toString
public String toString()(Code)



Methods inherited from com.caucho.server.webapp.WebAppContainer
public void addApplication(EarConfig config)(Code)(Java Doc)
public void addDeploy(DeployGenerator deploy) throws ConfigException(Code)(Java Doc)
public void addEarDefault(EarConfig config)(Code)(Java Doc)
public void addEarDeploy(EarDeployGenerator earDeploy) throws Exception(Code)(Java Doc)
public void addErrorPage(ErrorPage errorPage)(Code)(Java Doc)
public void addWarDeploy(WebAppExpandDeployGenerator webAppDeploy) throws ConfigException(Code)(Java Doc)
public void addWebApp(WebAppConfig config) throws Exception(Code)(Java Doc)
public void addWebAppDefault(WebAppConfig init)(Code)(Java Doc)
public void addWebAppDeploy(WebAppExpandDeployGenerator deploy) throws ConfigException(Code)(Java Doc)
public void buildErrorInvocation(Invocation invocation) throws ServletException(Code)(Java Doc)
public void buildForwardInvocation(Invocation invocation) throws ServletException(Code)(Java Doc)
public void buildIncludeInvocation(Invocation invocation) throws ServletException(Code)(Java Doc)
public Invocation buildInvocation(Invocation invocation) throws Exception(Code)(Java Doc)
public void buildLoginInvocation(Invocation invocation) throws ServletException(Code)(Java Doc)
public void classLoaderDestroy(DynamicClassLoader loader)(Code)(Java Doc)
public void classLoaderInit(DynamicClassLoader loader)(Code)(Java Doc)
public void clearCache()(Code)(Java Doc)
public AbstractAccessLog createAccessLog()(Code)(Java Doc)
public EarDeployGenerator createEarDeploy() throws Exception(Code)(Java Doc)
public RewriteDispatch createRewriteDispatch()(Code)(Java Doc)
public WebAppExpandDeployGenerator createWarDeploy()(Code)(Java Doc)
public WebAppExpandDeployGenerator createWebAppDeploy()(Code)(Java Doc)
public void destroy()(Code)(Java Doc)
public void environmentConfig(EnvironmentClassLoader loader)(Code)(Java Doc)
public void environmentStart(EnvironmentClassLoader loader)(Code)(Java Doc)
public void environmentStop(EnvironmentClassLoader loader)(Code)(Java Doc)
public void expandEarDeploy(String name)(Code)(Java Doc)
public WebAppController findByURI(String uri)(Code)(Java Doc)
public WebAppController findController(String subURI)(Code)(Java Doc)
public WebApp findSubWebAppByURI(String uri) throws Exception(Code)(Java Doc)
public WebApp findWebAppByURI(String uri) throws Exception(Code)(Java Doc)
public ClassLoader getClassLoader()(Code)(Java Doc)
public DispatchServer getDispatchServer()(Code)(Java Doc)
public Path getDocumentDirectory()(Code)(Java Doc)
public ArrayList<EarConfig> getEarDefaultList()(Code)(Java Doc)
public ArrayList<EarDeployController> getEntAppList()(Code)(Java Doc)
public ErrorPageManager getErrorPageManager()(Code)(Java Doc)
public WebApp getErrorWebApp()(Code)(Java Doc)
public Host getHost()(Code)(Java Doc)
public String getHostName()(Code)(Java Doc)
public RequestDispatcher getRequestDispatcher(String url)(Code)(Java Doc)
public Path getRootDirectory()(Code)(Java Doc)
public SessionManager getSessionManager()(Code)(Java Doc)
public String getURL()(Code)(Java Doc)
public Path getWarDir()(Code)(Java Doc)
public Path getWarExpandDir()(Code)(Java Doc)
public ArrayList<WebAppConfig> getWebAppDefaultList()(Code)(Java Doc)
public DeployContainer<WebAppController> getWebAppGenerator()(Code)(Java Doc)
public ArrayList<WebAppController> getWebAppList()(Code)(Java Doc)
public void init() throws Exception(Code)(Java Doc)
final public boolean isActive()(Code)(Java Doc)
final public boolean isDestroyed()(Code)(Java Doc)
public boolean isModified()(Code)(Java Doc)
public void removeWebAppDeploy(DeployGenerator deploy)(Code)(Java Doc)
public void setAccessLog(AbstractAccessLog log)(Code)(Java Doc)
public void setConfigException(Throwable e)(Code)(Java Doc)
public void setDispatchServer(DispatchServer server)(Code)(Java Doc)
public void setDocDir(Path path)(Code)(Java Doc)
public void setDocumentDirectory(Path path)(Code)(Java Doc)
public void setEnvironmentClassLoader(EnvironmentClassLoader loader)(Code)(Java Doc)
public void setRootDirectory(Path path)(Code)(Java Doc)
public void setWarDir(Path warDir) throws ConfigException(Code)(Java Doc)
public void setWarExpandDir(Path warDir)(Code)(Java Doc)
protected void start()(Code)(Java Doc)
public void startEarDeploy(String name)(Code)(Java Doc)
public boolean stop()(Code)(Java Doc)
public void updateEarDeploy(String name) throws Throwable(Code)(Java Doc)
public void updateWebAppDeploy(String name) throws Throwable(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.