Java Doc for JettyJWebContainerServiceImpl.java in  » J2EE » JOnAS-4.8.6 » org » objectweb » jonas » web » jetty50 » 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 » J2EE » JOnAS 4.8.6 » org.objectweb.jonas.web.jetty50 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.objectweb.jonas.web.AbsJWebContainerServiceImpl
   org.objectweb.jonas.web.jetty50.JettyJWebContainerServiceImpl

JettyJWebContainerServiceImpl
public class JettyJWebContainerServiceImpl extends AbsJWebContainerServiceImpl (Code)
This class provides an implementation of the Jetty service (as web container service).
author:
   Miroslav Halas (initial developer)
author:
   Florent Benoit




Method Summary
protected  voiddoInit(javax.naming.Context ctx)
     Initialize the Jetty service.
protected  voiddoRegisterWar(Context ctx)
     Create the environment and delegate the operation to the implementation of the web container.
public  voiddoStart()
    
protected  voiddoStop()
     Stop the Jetty service.
protected  voiddoUnRegisterWar(Context ctx)
     Delegate the unregistration to the implementation of the web container.
public  StringgetDefaultHost()
     Return the Default host name of the web container.
public  StringgetDefaultHttpPort()
     Return the Default HTTP port number of the web container (can be null if multiple HTTP connector has been set).
public  StringgetDefaultHttpsPort()
     Return the Default HTTPS port number of the web container (can be null if multiple HTTPS connector has been set).
public  StringgetJOnASClassPath(ClassLoader webClassLoader)
     Return the classpath which can be used for jsp compiling by Jasper.
protected  voidupdateServerInfos()
    



Method Detail
doInit
protected void doInit(javax.naming.Context ctx) throws ServiceException(Code)
Initialize the Jetty service.
Parameters:
  ctx - the configuration context of the service.
throws:
  ServiceException - if the initialization failed.



doRegisterWar
protected void doRegisterWar(Context ctx) throws JWebContainerServiceException(Code)
Create the environment and delegate the operation to the implementation of the web container.
Parameters:
  ctx - the context which contains the configuration in order todeploy a WAR.
throws:
  JWebContainerServiceException - if the registration of the WARfailed.



doStart
public void doStart() throws ServiceException(Code)
Start the Jetty service in a new thread
throws:
  ServiceException - if the startup failed.



doStop
protected void doStop() throws ServiceException(Code)
Stop the Jetty service.
throws:
  ServiceException - if the stop failed.



doUnRegisterWar
protected void doUnRegisterWar(Context ctx) throws JWebContainerServiceException(Code)
Delegate the unregistration to the implementation of the web container.
Parameters:
  ctx - the context which contains the configuration in order toundeploy a WAR.
throws:
  JWebContainerServiceException - if the unregistration failed.



getDefaultHost
public String getDefaultHost() throws JWebContainerServiceException(Code)
Return the Default host name of the web container. the Default host name of the web container.
throws:
  JWebContainerServiceException - when default host cannot beresolved (multiple services).



getDefaultHttpPort
public String getDefaultHttpPort() throws JWebContainerServiceException(Code)
Return the Default HTTP port number of the web container (can be null if multiple HTTP connector has been set). the Default HTTP port number of the web container.
throws:
  JWebContainerServiceException - when default HTTP port cannot beresolved (multiple occurences).



getDefaultHttpsPort
public String getDefaultHttpsPort() throws JWebContainerServiceException(Code)
Return the Default HTTPS port number of the web container (can be null if multiple HTTPS connector has been set). the Default HTTPS port number of the web container.
throws:
  JWebContainerServiceException - when default HTTPS port cannot beresolved (multiple occurences).



getJOnASClassPath
public String getJOnASClassPath(ClassLoader webClassLoader)(Code)
Return the classpath which can be used for jsp compiling by Jasper. This classpath is extracted from the web classloader.
Parameters:
  webClassLoader - the ClassLoader used for extract URLs. the jonas classpath which is useful for JSP compiling.



updateServerInfos
protected void updateServerInfos()(Code)
Update info of the serverName and serverVersion



Fields inherited from org.objectweb.jonas.web.AbsJWebContainerServiceImpl
final public static String AUTOLOADDIR(Code)(Java Doc)
final public static String CLASS(Code)(Java Doc)
final public static String DESCRIPTORS(Code)(Java Doc)
final protected static String INEAR_WORK_WEBAPPS_DIR_SUFFIX(Code)(Java Doc)
final protected static String JONAS_BASE(Code)(Java Doc)
final public static String PARSINGWITHVALIDATION(Code)(Java Doc)
final protected static String SINGLE_WORK_WEBAPPS_DIR_SUFFIX(Code)(Java Doc)
final protected static String WEBAPPS_DIR(Code)(Java Doc)
final protected static String WORK_DIR(Code)(Java Doc)
final protected static String WORK_WEBAPPS_DIR(Code)(Java Doc)

Methods inherited from org.objectweb.jonas.web.AbsJWebContainerServiceImpl
public void deployWars(Context ctx) throws JWebContainerServiceException(Code)(Java Doc)
protected void doInit(Context ctx) throws ServiceException(Code)(Java Doc)
abstract protected void doRegisterWar(Context ctx) throws JWebContainerServiceException(Code)(Java Doc)
protected void doStart() throws ServiceException(Code)(Java Doc)
protected void doStop() throws ServiceException(Code)(Java Doc)
abstract protected void doUnRegisterWar(Context ctx) throws JWebContainerServiceException(Code)(Java Doc)
public List getAutoloadDirectories()(Code)(Java Doc)
public URLClassLoader getClassLoader(URL warURL, String earAppName, ClassLoader parentLoader) throws JWebContainerServiceException(Code)(Java Doc)
public ClassLoader getContextLinkedClassLoader(URL warURL)(Code)(Java Doc)
public Integer getCurrentNumberOfWars()(Code)(Java Doc)
abstract public String getDefaultHost() throws JWebContainerServiceException(Code)(Java Doc)
abstract public String getDefaultHttpPort() throws JWebContainerServiceException(Code)(Java Doc)
abstract public String getDefaultHttpsPort() throws JWebContainerServiceException(Code)(Java Doc)
public List getDeployableWars() throws Exception(Code)(Java Doc)
public List getDeployedWars()(Code)(Java Doc)
public List getInstalledWars() throws Exception(Code)(Java Doc)
protected static Logger getLogger()(Code)(Java Doc)
protected MBeanServer getMbeanServer()(Code)(Java Doc)
protected ContainerNaming getNaming()(Code)(Java Doc)
public String getServerName()(Code)(Java Doc)
public String getServerVersion()(Code)(Java Doc)
protected URL getUnpackDir(URL warURL, String earAppName) throws JWebContainerServiceException(Code)(Java Doc)
public War getWar(URL url)(Code)(Java Doc)
public Set getWarNames()(Code)(Java Doc)
public String getWebappsDirectory()(Code)(Java Doc)
public boolean isWarLoaded(String fileName)(Code)(Java Doc)
public void registerWarMBean(String fileName) throws RemoteException, JWebContainerServiceException(Code)(Java Doc)
public void removeCache(ClassLoader earClassLoader)(Code)(Java Doc)
protected void setServerName(String serverName)(Code)(Java Doc)
protected void setServerVersion(String serverVersion)(Code)(Java Doc)
public void unDeployWars(URL[] urls)(Code)(Java Doc)
public void unRegisterWarMBean(String fileName) throws RemoteException, JWebContainerServiceException(Code)(Java Doc)
abstract protected void updateServerInfos()(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.