Java Doc for WebAppContainer.java in » EJB-Server-resin-3.1.5 » resin » com » caucho » server » webapp » 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.webapp
Source Cross Reference
Class Diagram
Java Document (Java Doc)
java.lang
.Object
com.caucho.server.webapp
.WebAppContainer
All known Subclasses:
com.caucho.server.host
.Host
,
WebAppContainer
public
class WebAppContainer implements
DispatchBuilder
,
ClassLoaderListener
,
EnvironmentListener
(Code)
Resin's webApp implementation.
Field Summary
final static L10N
L
final static
Logger
log
Constructor Summary
public
WebAppContainer
()
Creates the webApp with its environment loader.
public
WebAppContainer
(
EnvironmentClassLoader
loader)
Creates the webApp with its environment loader.
Method Summary
public
void
addApplication
(
EarConfig
config)
Adds an enterprise webApp.
public
void
addDeploy
(
DeployGenerator
deploy)
public
void
addEarDefault
(
EarConfig
config)
public
void
addEarDeploy
(
EarDeployGenerator
earDeploy)
public
void
addErrorPage
(
ErrorPage
errorPage)
public
void
addWarDeploy
(
WebAppExpandDeployGenerator
webAppDeploy)
public
void
addWebApp
(
WebAppConfig
config)
Adds an webApp.
public
void
addWebAppDefault
(
WebAppConfig
init)
public
void
addWebAppDeploy
(
WebAppExpandDeployGenerator
deploy)
public
void
buildErrorInvocation
(
Invocation
invocation)
Creates the error invocation.
public
void
buildForwardInvocation
(
Invocation
invocation)
Creates the invocation.
public
void
buildIncludeInvocation
(
Invocation
invocation)
Creates the invocation.
public
Invocation
buildInvocation
(
Invocation
invocation)
Creates the invocation.
public
void
buildLoginInvocation
(
Invocation
invocation)
Creates the invocation.
public
void
classLoaderDestroy
(
DynamicClassLoader
loader)
Handles the case where a class loader is dropped.
public
void
classLoaderInit
(
DynamicClassLoader
loader)
public
void
clearCache
()
public
AbstractAccessLog
createAccessLog
()
Sets the access log.
public
EarDeployGenerator
createEarDeploy
()
public
RewriteDispatch
createRewriteDispatch
()
Adds rewrite-dispatch.
public
WebAppExpandDeployGenerator
createWarDeploy
()
public
WebAppExpandDeployGenerator
createWebAppDeploy
()
public
void
destroy
()
Closes the container.
public
void
environmentConfig
(
EnvironmentClassLoader
loader)
public
void
environmentStart
(
EnvironmentClassLoader
loader)
Handles the case where the environment is starting (after init).
public
void
environmentStop
(
EnvironmentClassLoader
loader)
public
void
expandEarDeploy
(
String
name)
public
WebAppController
findByURI
(
String
uri)
Finds the web-app matching the current entry.
public
WebAppController
findController
(
String
subURI)
Finds the web-app for the entry, not checking for sub-apps.
public
WebApp
findSubWebAppByURI
(
String
uri)
Creates the invocation.
public
WebApp
findWebAppByURI
(
String
uri)
Creates the invocation.
public
ClassLoader
getClassLoader
()
Gets the class loader.
public
DispatchServer
getDispatchServer
()
Gets the dispatch server.
public
Path
getDocumentDirectory
()
Gets the document directory.
public
ArrayList
<
EarConfig
>
getEarDefaultList
()
public
ArrayList
<
EarDeployController
>
getEntAppList
()
Returns a list of the webApps.
public
ErrorPageManager
getErrorPageManager
()
public
WebApp
getErrorWebApp
()
Returns the error webApp during startup.
public
Host
getHost
()
Returns the owning host.
public
String
getHostName
()
Returns the host name for the container.
public
RequestDispatcher
getRequestDispatcher
(
String
url)
Returns a dispatcher for the named servlet.
public
Path
getRootDirectory
()
Gets the root directory.
public
SessionManager
getSessionManager
()
Returns the container's session manager.
public
String
getURL
()
Returns the URL for the container.
public
Path
getWarDir
()
Gets the war-dir.
public
Path
getWarExpandDir
()
Gets the war-expand-dir.
public
ArrayList
<
WebAppConfig
>
getWebAppDefaultList
()
public
DeployContainer
<
WebAppController
>
getWebAppGenerator
()
public
ArrayList
<
WebAppController
>
getWebAppList
()
Returns a list of the webApps.
public
void
init
()
Init the container.
final
public
boolean
isActive
()
final
public
boolean
isDestroyed
()
Returns true if the webApp container has been closed.
public
boolean
isModified
()
Returns true if modified.
void
removeWebApp
(
WebAppController
entry)
Removes an webApp.
public
void
removeWebAppDeploy
(
DeployGenerator
deploy)
Removes a web-app-generator.
public
void
setAccessLog
(
AbstractAccessLog
log)
Sets the access log.
public
void
setConfigException
(
Throwable
e)
Sets a configuration exception.
public
void
setDispatchServer
(
DispatchServer
server)
Sets the dispatch server.
public
void
setDocDir
(Path path)
Sets the document directory.
public
void
setDocumentDirectory
(Path path)
Sets the document directory.
public
void
setEnvironmentClassLoader
(
EnvironmentClassLoader
loader)
sets the class loader.
public
void
setRootDirectory
(Path path)
Sets the root directory.
public
void
setWarDir
(Path warDir)
Sets the war-dir for backwards compatibility.
public
void
setWarExpandDir
(Path warDir)
Sets the war-expand-dir.
protected
void
start
()
Starts the container.
public
void
startEarDeploy
(
String
name)
public
boolean
stop
()
Closes the container.
public
void
updateEarDeploy
(
String
name)
public
void
updateWebAppDeploy
(
String
name)
Field Detail
L
final static L10N L
(Code)
log
final static
Logger
log
(Code)
Constructor Detail
WebAppContainer
public
WebAppContainer()
(Code)
Creates the webApp with its environment loader.
WebAppContainer
public
WebAppContainer(
EnvironmentClassLoader
loader)
(Code)
Creates the webApp with its environment loader.
Method Detail
addApplication
public
void addApplication(
EarConfig
config)
(Code)
Adds an enterprise webApp.
addDeploy
public
void addDeploy(
DeployGenerator
deploy) throws ConfigException
(Code)
Sets the war-expansion
addEarDefault
public
void addEarDefault(
EarConfig
config)
(Code)
Adds an ear default
addEarDeploy
public
void addEarDeploy(
EarDeployGenerator
earDeploy) throws
Exception
(Code)
Adds the ear-expansion
addErrorPage
public
void addErrorPage(
ErrorPage
errorPage)
(Code)
Adds an error page
addWarDeploy
public
void addWarDeploy(
WebAppExpandDeployGenerator
webAppDeploy) throws ConfigException
(Code)
Sets the war-expansion
addWebApp
public
void addWebApp(
WebAppConfig
config) throws
Exception
(Code)
Adds an webApp.
addWebAppDefault
public
void addWebAppDefault(
WebAppConfig
init)
(Code)
Adds a web-app default
addWebAppDeploy
public
void addWebAppDeploy(
WebAppExpandDeployGenerator
deploy) throws ConfigException
(Code)
Sets the war-expansion
buildErrorInvocation
public
void buildErrorInvocation(
Invocation
invocation) throws
ServletException
(Code)
Creates the error invocation.
buildForwardInvocation
public
void buildForwardInvocation(
Invocation
invocation) throws
ServletException
(Code)
Creates the invocation.
buildIncludeInvocation
public
void buildIncludeInvocation(
Invocation
invocation) throws
ServletException
(Code)
Creates the invocation.
buildInvocation
public
Invocation
buildInvocation(
Invocation
invocation) throws
Exception
(Code)
Creates the invocation.
buildLoginInvocation
public
void buildLoginInvocation(
Invocation
invocation) throws
ServletException
(Code)
Creates the invocation.
classLoaderDestroy
public
void classLoaderDestroy(
DynamicClassLoader
loader)
(Code)
Handles the case where a class loader is dropped.
classLoaderInit
public
void classLoaderInit(
DynamicClassLoader
loader)
(Code)
Handles the case where a class loader has completed initialization
clearCache
public
void clearCache()
(Code)
Clears the cache
createAccessLog
public
AbstractAccessLog
createAccessLog()
(Code)
Sets the access log.
createEarDeploy
public
EarDeployGenerator
createEarDeploy() throws
Exception
(Code)
Sets the ear-expansion
createRewriteDispatch
public
RewriteDispatch
createRewriteDispatch()
(Code)
Adds rewrite-dispatch.
createWarDeploy
public
WebAppExpandDeployGenerator
createWarDeploy()
(Code)
Sets the war-expansion
createWebAppDeploy
public
WebAppExpandDeployGenerator
createWebAppDeploy()
(Code)
Sets the war-expansion
destroy
public
void destroy()
(Code)
Closes the container.
environmentConfig
public
void environmentConfig(
EnvironmentClassLoader
loader)
(Code)
Handles the environment config phase
environmentStart
public
void environmentStart(
EnvironmentClassLoader
loader)
(Code)
Handles the case where the environment is starting (after init).
environmentStop
public
void environmentStop(
EnvironmentClassLoader
loader)
(Code)
Handles the case where the environment is stopping
expandEarDeploy
public
void expandEarDeploy(
String
name)
(Code)
Updates an ear deploy
findByURI
public
WebAppController
findByURI(
String
uri)
(Code)
Finds the web-app matching the current entry.
findController
public
WebAppController
findController(
String
subURI)
(Code)
Finds the web-app for the entry, not checking for sub-apps. (used by LocalDeployServlet)
findSubWebAppByURI
public
WebApp
findSubWebAppByURI(
String
uri) throws
Exception
(Code)
Creates the invocation.
findWebAppByURI
public
WebApp
findWebAppByURI(
String
uri) throws
Exception
(Code)
Creates the invocation.
getClassLoader
public
ClassLoader
getClassLoader()
(Code)
Gets the class loader.
getDispatchServer
public
DispatchServer
getDispatchServer()
(Code)
Gets the dispatch server.
getDocumentDirectory
public
Path getDocumentDirectory()
(Code)
Gets the document directory.
getEarDefaultList
public
ArrayList
<
EarConfig
> getEarDefaultList()
(Code)
Returns the list of ear defaults
getEntAppList
public
ArrayList
<
EarDeployController
> getEntAppList()
(Code)
Returns a list of the webApps.
getErrorPageManager
public
ErrorPageManager
getErrorPageManager()
(Code)
Returns the error page manager
getErrorWebApp
public
WebApp
getErrorWebApp()
(Code)
Returns the error webApp during startup.
getHost
public
Host
getHost()
(Code)
Returns the owning host.
getHostName
public
String
getHostName()
(Code)
Returns the host name for the container.
getRequestDispatcher
public
RequestDispatcher
getRequestDispatcher(
String
url)
(Code)
Returns a dispatcher for the named servlet.
getRootDirectory
public
Path getRootDirectory()
(Code)
Gets the root directory.
getSessionManager
public
SessionManager
getSessionManager()
(Code)
Returns the container's session manager.
getURL
public
String
getURL()
(Code)
Returns the URL for the container.
getWarDir
public
Path getWarDir()
(Code)
Gets the war-dir.
getWarExpandDir
public
Path getWarExpandDir()
(Code)
Gets the war-expand-dir.
getWebAppDefaultList
public
ArrayList
<
WebAppConfig
> getWebAppDefaultList()
(Code)
Returns the list of web-app defaults
getWebAppGenerator
public
DeployContainer
<
WebAppController
> getWebAppGenerator()
(Code)
Returns the webApp generator
getWebAppList
public
ArrayList
<
WebAppController
> getWebAppList()
(Code)
Returns a list of the webApps.
init
public
void init() throws
Exception
(Code)
Init the container.
isActive
final
public
boolean isActive()
(Code)
Returns true if the webApp container is active
isDestroyed
final
public
boolean isDestroyed()
(Code)
Returns true if the webApp container has been closed.
isModified
public
boolean isModified()
(Code)
Returns true if modified.
removeWebApp
void removeWebApp(
WebAppController
entry)
(Code)
Removes an webApp.
removeWebAppDeploy
public
void removeWebAppDeploy(
DeployGenerator
deploy)
(Code)
Removes a web-app-generator.
setAccessLog
public
void setAccessLog(
AbstractAccessLog
log)
(Code)
Sets the access log.
setConfigException
public
void setConfigException(
Throwable
e)
(Code)
Sets a configuration exception.
setDispatchServer
public
void setDispatchServer(
DispatchServer
server)
(Code)
Sets the dispatch server.
setDocDir
public
void setDocDir(Path path)
(Code)
Sets the document directory.
setDocumentDirectory
public
void setDocumentDirectory(Path path)
(Code)
Sets the document directory.
setEnvironmentClassLoader
public
void setEnvironmentClassLoader(
EnvironmentClassLoader
loader)
(Code)
sets the class loader.
setRootDirectory
public
void setRootDirectory(Path path)
(Code)
Sets the root directory.
setWarDir
public
void setWarDir(Path warDir) throws ConfigException
(Code)
Sets the war-dir for backwards compatibility.
setWarExpandDir
public
void setWarExpandDir(Path warDir)
(Code)
Sets the war-expand-dir.
start
protected
void start()
(Code)
Starts the container.
startEarDeploy
public
void startEarDeploy(
String
name)
(Code)
Start an ear
stop
public
boolean stop()
(Code)
Closes the container.
updateEarDeploy
public
void updateEarDeploy(
String
name) throws
Throwable
(Code)
Updates an ear deploy
updateWebAppDeploy
public
void updateWebAppDeploy(
String
name) throws
Throwable
(Code)
Updates a WebApp deploy
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.