org.jboss.web
Interface WebServiceMBean

All Superinterfaces:
org.jboss.system.Service, org.jboss.system.ServiceMBean
All Known Implementing Classes:
WebService

public interface WebServiceMBean
extends org.jboss.system.ServiceMBean

WebService MBean interface

Version:
$Revision: 57209 $

Field Summary
static javax.management.ObjectName OBJECT_NAME
          The default ObjectName
 
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
 
Method Summary
 URL addClassLoader(ClassLoader cl)
           
 int getBacklog()
           
 String getBindAddress()
           
 boolean getDownloadResources()
           
 boolean getDownloadServerClasses()
           
 String getHost()
           
 int getPort()
           
 void removeClassLoader(ClassLoader cl)
           
 void setBacklog(int backlog)
          The WebService listen queue backlog limit.
 void setBindAddress(String host)
          The specific address the WebService listens on.
 void setDownloadResources(boolean flag)
          Whether the server will serve resource files.
 void setDownloadServerClasses(boolean flag)
          Whether the server should attempt to download classes using the thread context class loader when a request arrives that does not have a class loader key prefix.
 void setHost(String hostname)
          The name of the interface to use for the host portion of the RMI codebase URL.
 void setPort(int port)
          The WebService listening port, 0 for anonymous.
 void setThreadPool(org.jboss.util.threadpool.BasicThreadPoolMBean threadPool)
          The thread pool used for the WebServer class loading.
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
The default ObjectName

Method Detail

setBindAddress

void setBindAddress(String host)
                    throws UnknownHostException
The specific address the WebService listens on.

Throws:
UnknownHostException

getBindAddress

String getBindAddress()

setPort

void setPort(int port)
The WebService listening port, 0 for anonymous.


getPort

int getPort()

setHost

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


getHost

String getHost()

setBacklog

void setBacklog(int backlog)
The WebService listen queue backlog limit.


getBacklog

int getBacklog()

setDownloadServerClasses

void setDownloadServerClasses(boolean flag)
Whether the server should attempt to download classes using the thread context class loader when a request arrives that does not have a class loader key prefix.


getDownloadServerClasses

boolean getDownloadServerClasses()

setDownloadResources

void setDownloadResources(boolean flag)
Whether the server will serve resource files.


getDownloadResources

boolean getDownloadResources()

setThreadPool

void setThreadPool(org.jboss.util.threadpool.BasicThreadPoolMBean threadPool)
The thread pool used for the WebServer class loading.


addClassLoader

URL addClassLoader(ClassLoader cl)

removeClassLoader

void removeClassLoader(ClassLoader cl)


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.