Java Doc for WebAppController.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) 


com.caucho.server.webapp.WebAppController

All known Subclasses:   com.caucho.server.webapp.WebAppVersioningController,
WebAppController
public class WebAppController extends EnvironmentDeployController (Code)
A configuration entry for a web-app.

Inner Class :public class Var

Field Summary
protected  WebAppContainer_container
    

Constructor Summary
public  WebAppController()
    
public  WebAppController(String name, String contextPath, Path rootDirectory, WebAppContainer container)
    

Method Summary
public  voidaddDepend(Path path)
     Adds a dependent file.
protected  voidaddDependencies()
     Adding any dependencies.
protected  PathcalculateRootDirectory()
    
protected  voidconfigureInstanceVariables(WebApp app)
     Creates the webApp.
public  booleandestroy()
     Returns the webApp object.
protected  voidextendJMXContext(Map<String, String> context)
    
protected  voidfillInitList(ArrayList<DeployConfig> initList)
    
public  WebAppAdmingetAdmin()
     Returns the admin.
public  WebAppContainergetContainer()
     Returns the web-app container.
public  StringgetContextPath()
    
public  StringgetContextPath(String uri)
    
protected  DeployControllerAdmingetDeployAdmin()
     Returns the deploy admin.
public  HostgetHost()
     Returns the containing host.
public  longgetLifetimeClientDisconnectCount()
    
public  longgetLifetimeConnectionCount()
    
public  longgetLifetimeConnectionTime()
    
public  longgetLifetimeReadBytes()
    
public  longgetLifetimeWriteBytes()
    
protected  LoggergetLog()
    
protected  StringgetMBeanId()
    
protected  StringgetMBeanTypeName()
    
public  WebAppControllergetParent()
     Returns the parent controller.
public  StringgetSourceType()
    
public  StringgetURL()
    
public  VargetVar()
     Returns the var.
public  StringgetVersion()
     Gets the version id.
public  StringgetWarName()
     Gets the war name prefix.
public  WebAppgetWebApp()
     Returns the webApp object.
protected  voidinitBegin()
     Initialize the controller.
protected  voidinitEnd()
    
protected  WebAppinstantiateDeployInstance()
     Instantiate the webApp.
public  booleanisDynamicDeploy()
     Returns true for a dynamically deployed webApp.
public  booleanisInheritSession()
     True for inherit-session webApps.
public  booleanisNameMatch(String url)
     Returns true if the controller matches.
protected  WebAppControllermerge(WebAppController newController)
     Merges two entries.
protected  voidprotectedWebApp()
     Any extra steps needed to deploy the webApp.
protected  voidremoveExpandFile(Path path, String relPath)
     Override to prevent removing of special files.
public  voidsetContextPath(String contextPath)
    
public  voidsetDynamicDeploy(boolean isDynamicDeploy)
     Set true for a dynamically deployed webApp.
public  voidsetInheritSession(boolean inheritSession)
    
public  voidsetOldWebApp(WebAppController oldWebApp, long expireTime)
     Sets the old version web-app.
public  voidsetParentWebApp(WebAppController parent)
     Sets the parent controller.
public  voidsetRegexpValues(ArrayList<String> values)
     Sets the regexp values.
public  voidsetSourceType(String type)
    
protected  voidsetVersion(String version)
     Sets the version id.
public  voidsetWarName(String warName)
     Sets the war name prefix.
public  StringtoString()
     Returns a printable view.
public  voidupdateStatistics(long milliseconds, int readBytes, int writeBytes, boolean isClientDisconnect)
     Update statistics with the results of one request.

Field Detail
_container
protected WebAppContainer _container(Code)




Constructor Detail
WebAppController
public WebAppController()(Code)



WebAppController
public WebAppController(String name, String contextPath, Path rootDirectory, WebAppContainer container)(Code)




Method Detail
addDepend
public void addDepend(Path path)(Code)
Adds a dependent file.



addDependencies
protected void addDependencies() throws Exception(Code)
Adding any dependencies.



calculateRootDirectory
protected Path calculateRootDirectory() throws ELException(Code)



configureInstanceVariables
protected void configureInstanceVariables(WebApp app) throws Throwable(Code)
Creates the webApp.



destroy
public boolean destroy()(Code)
Returns the webApp object.



extendJMXContext
protected void extendJMXContext(Map<String, String> context)(Code)



fillInitList
protected void fillInitList(ArrayList<DeployConfig> initList)(Code)



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



getContainer
public WebAppContainer getContainer()(Code)
Returns the web-app container.



getContextPath
public String getContextPath()(Code)
Returns the webApp's context path



getContextPath
public String getContextPath(String uri)(Code)
Returns the webApp's context path



getDeployAdmin
protected DeployControllerAdmin getDeployAdmin()(Code)
Returns the deploy admin.



getHost
public Host getHost()(Code)
Returns the containing host.



getLifetimeClientDisconnectCount
public long getLifetimeClientDisconnectCount()(Code)



getLifetimeConnectionCount
public long getLifetimeConnectionCount()(Code)



getLifetimeConnectionTime
public long getLifetimeConnectionTime()(Code)



getLifetimeReadBytes
public long getLifetimeReadBytes()(Code)



getLifetimeWriteBytes
public long getLifetimeWriteBytes()(Code)



getLog
protected Logger getLog()(Code)



getMBeanId
protected String getMBeanId()(Code)



getMBeanTypeName
protected String getMBeanTypeName()(Code)



getParent
public WebAppController getParent()(Code)
Returns the parent controller.



getSourceType
public String getSourceType()(Code)
Returns the source (for backwards compatibility)



getURL
public String getURL()(Code)
Gets the URL



getVar
public Var getVar()(Code)
Returns the var.



getVersion
public String getVersion()(Code)
Gets the version id.



getWarName
public String getWarName()(Code)
Gets the war name prefix.



getWebApp
public WebApp getWebApp()(Code)
Returns the webApp object.



initBegin
protected void initBegin()(Code)
Initialize the controller.



initEnd
protected void initEnd()(Code)



instantiateDeployInstance
protected WebApp instantiateDeployInstance()(Code)
Instantiate the webApp.



isDynamicDeploy
public boolean isDynamicDeploy()(Code)
Returns true for a dynamically deployed webApp.



isInheritSession
public boolean isInheritSession()(Code)
True for inherit-session webApps.



isNameMatch
public boolean isNameMatch(String url)(Code)
Returns true if the controller matches.



merge
protected WebAppController merge(WebAppController newController)(Code)
Merges two entries.



protectedWebApp
protected void protectedWebApp() throws Exception(Code)
Any extra steps needed to deploy the webApp.



removeExpandFile
protected void removeExpandFile(Path path, String relPath) throws IOException(Code)
Override to prevent removing of special files.



setContextPath
public void setContextPath(String contextPath)(Code)
Sets the webApp's context path



setDynamicDeploy
public void setDynamicDeploy(boolean isDynamicDeploy)(Code)
Set true for a dynamically deployed webApp.



setInheritSession
public void setInheritSession(boolean inheritSession)(Code)
True for inherit-session



setOldWebApp
public void setOldWebApp(WebAppController oldWebApp, long expireTime)(Code)
Sets the old version web-app.



setParentWebApp
public void setParentWebApp(WebAppController parent)(Code)
Sets the parent controller.



setRegexpValues
public void setRegexpValues(ArrayList<String> values)(Code)
Sets the regexp values.



setSourceType
public void setSourceType(String type)(Code)
Sets the source (for backwards compatibility)



setVersion
protected void setVersion(String version)(Code)
Sets the version id.



setWarName
public void setWarName(String warName)(Code)
Sets the war name prefix.



toString
public String toString()(Code)
Returns a printable view.



updateStatistics
public void updateStatistics(long milliseconds, int readBytes, int writeBytes, boolean isClientDisconnect)(Code)
Update statistics with the results of one request.
Parameters:
  milliseconds - the number of millesconds for the request
Parameters:
  readBytes - the number of bytes read
Parameters:
  writeBytes - the number of bytes written
Parameters:
  isClientDisconnect - true if the request ended with a client DisconnectException



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