Java Doc for JettyService.java in  » Sevlet-Container » jetty-extras » org » jboss » jetty » 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 » Sevlet Container » jetty extras » org.jboss.jetty 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.jetty.JettyService

JettyService
public class JettyService extends AbstractWebContainer implements JettyServiceMBean,MBeanRegistration(Code)
JettyService A service to launch jetty as the webserver for JBoss.

Inner Class :public static class ConfigurationData

Field Summary
final public static  StringNAME
    
protected  Jetty_jetty
    
protected  Element_jettyConfig
    
protected  MBeanServer_server
    
protected  boolean_supportJSR77
    
protected  String_webDefaultResource
    
protected  SubDeployerExtsubDeployerProxy
    

Constructor Summary
public  JettyService()
    

Method Summary
public  voidcreateService()
    
public  voiddestroyService()
    
public  ElementgetConfigurationElement()
    
public  AbstractWebDeployergetDeployer(DeploymentInfo di)
    
public  StringgetName()
    
public  booleangetSupportJSR77()
    
public  StringgetWebDefaultResource()
     Get the custom webdefault.xml file.
public  voidperformDeploy(WebApplication webApp, String warUrl, WebDescriptorParser parser)
     Old deployment method from AbstractWebContainer.
public  voidperformUndeploy(String warUrl)
     Old undeploy method from AbstractWebContainer.
public  voidpostRegister(Boolean done)
     Listen for post-mbean registration and set up the jetty mbean infrastructure so it can generate mbeans according to the elements contained in the element of the jboss-service.xml file.
public  ObjectNamepreRegister(MBeanServer server, ObjectName name)
     Listen for our registration as an mbean and remember our name.
public  voidsetConfigurationElement(Element configElement)
    
public  voidsetSupportJSR77(boolean supportJSR77)
    
public  voidsetWebDefaultResource(String webDefaultResource)
     Set a custom webdefault.xml file.
public  voidstartService()
     Start up the jetty service.
public  voidstopService()
    

Field Detail
NAME
final public static String NAME(Code)



_jetty
protected Jetty _jetty(Code)



_jettyConfig
protected Element _jettyConfig(Code)



_server
protected MBeanServer _server(Code)



_supportJSR77
protected boolean _supportJSR77(Code)



_webDefaultResource
protected String _webDefaultResource(Code)



subDeployerProxy
protected SubDeployerExt subDeployerProxy(Code)




Constructor Detail
JettyService
public JettyService()(Code)
Constructor




Method Detail
createService
public void createService() throws Exception(Code)

See Also:   org.jboss.deployment.SubDeployerSupport.createService



destroyService
public void destroyService() throws Exception(Code)



getConfigurationElement
public Element getConfigurationElement()(Code)
Get the extended Jetty configuration XML fragment Jetty XML fragment embedded in jboss-service.xml



getDeployer
public AbstractWebDeployer getDeployer(DeploymentInfo di) throws Exception(Code)

See Also:   org.jboss.web.AbstractWebContainer.getDeployer(org.jboss.deployment.DeploymentInfo)



getName
public String getName()(Code)

See Also:   org.jboss.system.ServiceMBeanSupport.getName



getSupportJSR77
public boolean getSupportJSR77()(Code)



getWebDefaultResource
public String getWebDefaultResource()(Code)
Get the custom webdefault.xml file.



performDeploy
public void performDeploy(WebApplication webApp, String warUrl, WebDescriptorParser parser) throws DeploymentException(Code)
Old deployment method from AbstractWebContainer. TODO remove this?
Parameters:
  webApp -
Parameters:
  warUrl -
Parameters:
  parser -
throws:
  DeploymentException -



performUndeploy
public void performUndeploy(String warUrl) throws DeploymentException(Code)
Old undeploy method from AbstractWebContainer. TODO remove?
Parameters:
  warUrl -
throws:
  DeploymentException -



postRegister
public void postRegister(Boolean done)(Code)
Listen for post-mbean registration and set up the jetty mbean infrastructure so it can generate mbeans according to the elements contained in the element of the jboss-service.xml file.
See Also:   org.jboss.system.ServiceMBeanSupport.postRegister(java.lang.Boolean)



preRegister
public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception(Code)
Listen for our registration as an mbean and remember our name.
See Also:   org.jboss.system.ServiceMBeanSupport.preRegister(javax.management.MBeanServerjavax.management.ObjectName)



setConfigurationElement
public void setConfigurationElement(Element configElement)(Code)
Configure Jetty
Parameters:
  configElement - XML fragment from jboss-service.xml



setSupportJSR77
public void setSupportJSR77(boolean supportJSR77)(Code)



setWebDefaultResource
public void setWebDefaultResource(String webDefaultResource)(Code)
Set a custom webdefault.xml file.



startService
public void startService() throws Exception(Code)
Start up the jetty service. Also, as we need to be able to have interceptors injected into us to support jboss.ws:service=WebService, we need to create a proxy to ourselves and register that proxy with the mainDeployer. See SubDeployerInterceptorSupport
See Also:   org.jboss.web.AbstractWebContainer.startService



stopService
public void stopService() throws Exception(Code)



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