| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.web.WebService
The WebService implementation. It configures a WebServer instance to perform dynamic class and resource loading.
| Field Summary | 
| Fields inherited from class org.jboss.system.ServiceMBeanSupport | 
| log, SERVICE_CONTROLLER_SIG, serviceName | 
| Fields inherited from interface org.jboss.web.WebServiceMBean | 
| OBJECT_NAME | 
| Fields inherited from interface org.jboss.system.ServiceMBean | 
| CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED | 
| Constructor Summary | |
| WebService() | |
| Method Summary | |
|  URL | addClassLoader(ClassLoader cl) | 
| protected  void | createService() | 
|  int | getBacklog()Get the WebService listen queue backlog limit. | 
|  String | getBindAddress()Get the specific address the WebService listens on. | 
|  boolean | getDownloadServerClasses()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. | 
|  String | getHost()Set the name of the interface to use for the host portion of the RMI codebase URL. | 
| protected  javax.management.ObjectName | getObjectName(javax.management.MBeanServer server,
              javax.management.ObjectName name) | 
|  int | getPort()Get the WebService listening port. | 
|  void | removeClassLoader(ClassLoader cl) | 
|  void | setBacklog(int backlog)Set the WebService listen queue backlog limit. | 
|  void | setBindAddress(String host)Set the specific address the WebService listens on. | 
|  void | setDownloadServerClasses(boolean flag) | 
|  void | setHost(String hostname)Get the name of the interface to use for the host portion of the RMI codebase URL. | 
|  void | setPort(int port)Set the WebService listening port. | 
|  void | setThreadPool(org.jboss.util.threadpool.BasicThreadPoolMBean threadPool)Set the thread pool used for the WebServer class loading. | 
| protected  void | startService()Start the web server for dynamic downloading of classes and resources. | 
| protected  void | stopService() | 
| Methods inherited from class org.jboss.system.ServiceMBeanSupport | 
| create, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop | 
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport | 
| addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.jboss.system.ServiceMBean | 
| getName, getState, getStateString, jbossInternalLifecycle | 
| Methods inherited from interface org.jboss.system.Service | 
| create, destroy, start, stop | 
| Constructor Detail | 
public WebService()
| Method Detail | 
public URL addClassLoader(ClassLoader cl)
addClassLoader in interface WebServiceMBeanpublic void removeClassLoader(ClassLoader cl)
removeClassLoader in interface WebServiceMBeanpublic void setPort(int port)
setPort in interface WebServiceMBeanport - The listening port; 0 for anonymouspublic int getPort()
getPort in interface WebServiceMBeanpublic void setHost(String hostname)
setHost in interface WebServiceMBeanpublic String getHost()
getHost in interface WebServiceMBeanpublic String getBindAddress()
getBindAddress in interface WebServiceMBeanpublic void setBindAddress(String host) throws UnknownHostException
setBindAddress in interface WebServiceMBeanhost - the interface name or IP address to bind. If host is null,
              connections on any/all local addresses will be allowed.
UnknownHostExceptionpublic int getBacklog()
getBacklog in interface WebServiceMBeanpublic void setBacklog(int backlog)
setBacklog in interface WebServiceMBeanpublic void setThreadPool(org.jboss.util.threadpool.BasicThreadPoolMBean threadPool)
setThreadPool in interface WebServiceMBeanpublic boolean getDownloadServerClasses()
getDownloadServerClasses in interface WebServiceMBeanpublic void setDownloadServerClasses(boolean flag)
setDownloadServerClasses in interface WebServiceMBean
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
                                                    javax.management.ObjectName name)
                                             throws javax.management.MalformedObjectNameException
javax.management.MalformedObjectNameException
protected void createService()
                      throws Exception
Exception
protected void startService()
                     throws Exception
 The system java.rmi.server.codebase is also set to
 http://
Exception
protected void stopService()
                    throws Exception
Exception| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||