Java Doc for WebService.java in  » EJB-Server-JBoss-4.2.1 » server » org » jboss » web » 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 JBoss 4.2.1 » server » org.jboss.web 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jboss.web.WebService

WebService
public class WebService extends ServiceMBeanSupport implements WebServiceMBean(Code)
The WebService implementation. It configures a WebServer instance to perform dynamic class and resource loading.
version:
   $Revision: 62433 $
author:
   Rickard Oberg
author:
   Scott Stark
author:
   Jason Dillon
author:
   Dimitris Andreadis



Constructor Summary
public  WebService()
    

Method Summary
public  URLaddClassLoader(ClassLoader cl)
    
protected  voidcreateService()
    
public  intgetBacklog()
     Get the WebService listen queue backlog limit.
public  StringgetBindAddress()
     Get the specific address the WebService listens on.
public  StringgetCodebase()
     The RMI codebase URL.
public  booleangetDownloadResources()
     A flag indicating if the server should attempt to download resources, i.e.
public  booleangetDownloadServerClasses()
     A flag indicating if the server should attempt to download classes from thread context class loader when a request arrives that does not have a class loader key prefix.
public  StringgetHost()
     Get the name of the interface to use for the host portion of the RMI codebase URL.
protected  ObjectNamegetObjectName(MBeanServer server, ObjectName name)
    
public  intgetPort()
     Get the WebService listening port.
public  voidremoveClassLoader(ClassLoader cl)
    
public  voidsetBacklog(int backlog)
     Set the WebService listen queue backlog limit.
public  voidsetBindAddress(String address)
     Set the specific address the WebService listens on.
public  voidsetDownloadResources(boolean flag)
    
public  voidsetDownloadServerClasses(boolean flag)
    
public  voidsetHost(String hostname)
     Set the name of the interface to use for the host portion of the RMI codebase URL.
public  voidsetPort(int port)
     Set the WebService listening port.
public  voidsetThreadPool(BasicThreadPoolMBean threadPool)
     Set the thread pool used for the WebServer class loading.
protected  voidstartService()
     Start the web server for dynamic downloading of classes and resources.
protected  voidstopService()
    


Constructor Detail
WebService
public WebService()(Code)




Method Detail
addClassLoader
public URL addClassLoader(ClassLoader cl)(Code)



createService
protected void createService() throws Exception(Code)



getBacklog
public int getBacklog()(Code)
Get the WebService listen queue backlog limit. The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused. the queue backlog limit.



getBindAddress
public String getBindAddress()(Code)
Get the specific address the WebService listens on. the interface name or IP address the WebService binds to.



getCodebase
public String getCodebase()(Code)
The RMI codebase URL.



getDownloadResources
public boolean getDownloadResources()(Code)
A flag indicating if the server should attempt to download resources, i.e. resource paths that don't end in .class



getDownloadServerClasses
public boolean getDownloadServerClasses()(Code)
A flag indicating if the server should attempt to download classes from thread context class loader when a request arrives that does not have a class loader key prefix.



getHost
public String getHost()(Code)
Get the name of the interface to use for the host portion of the RMI codebase URL.



getObjectName
protected ObjectName getObjectName(MBeanServer server, ObjectName name) throws javax.management.MalformedObjectNameException(Code)



getPort
public int getPort()(Code)
Get the WebService listening port.



removeClassLoader
public void removeClassLoader(ClassLoader cl)(Code)



setBacklog
public void setBacklog(int backlog)(Code)
Set the WebService listen queue backlog limit. The maximum queue length for incoming connection indications (a request to connect) is set to the backlog parameter. If a connection indication arrives when the queue is full, the connection is refused. backlog, the queue backlog limit.



setBindAddress
public void setBindAddress(String address) throws UnknownHostException(Code)
Set the specific address the WebService listens on. This can be used on a multi-homed host for a ServerSocket that will only accept connect requests to one of its addresses.
Parameters:
  address - the interface name or IP address to bind. If host is null,connections on any/all local addresses will be allowed.



setDownloadResources
public void setDownloadResources(boolean flag)(Code)



setDownloadServerClasses
public void setDownloadServerClasses(boolean flag)(Code)



setHost
public void setHost(String hostname)(Code)
Set the name of the interface to use for the host portion of the RMI codebase URL.



setPort
public void setPort(int port)(Code)
Set the WebService listening port.
Parameters:
  port - The listening port; 0 for anonymous



setThreadPool
public void setThreadPool(BasicThreadPoolMBean threadPool)(Code)
Set the thread pool used for the WebServer class loading.



startService
protected void startService() throws Exception(Code)
Start the web server for dynamic downloading of classes and resources.

The system java.rmi.server.codebase is also set to http://:/ if the property has not been set.




stopService
protected 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.