1 22 package org.jboss.web; 23 24 import java.net.URL ; 25 import java.net.UnknownHostException ; 26 27 import javax.management.ObjectName ; 28 29 import org.jboss.mx.util.ObjectNameFactory; 30 import org.jboss.system.ServiceMBean; 31 import org.jboss.util.threadpool.BasicThreadPoolMBean; 32 33 38 public interface WebServiceMBean extends ServiceMBean 39 { 40 41 ObjectName OBJECT_NAME = ObjectNameFactory.create("jboss:service=WebService"); 42 43 45 46 void setBindAddress(String host) throws UnknownHostException ; 47 String getBindAddress(); 48 49 50 void setPort(int port); 51 int getPort(); 52 53 54 void setHost(String hostname); 55 String getHost(); 56 57 58 void setBacklog(int backlog); 59 int getBacklog(); 60 61 63 void setDownloadServerClasses(boolean flag); 64 boolean getDownloadServerClasses(); 65 66 67 void setDownloadResources(boolean flag); 68 boolean getDownloadResources(); 69 70 71 void setThreadPool(BasicThreadPoolMBean threadPool); 72 73 75 URL addClassLoader(ClassLoader cl); 76 77 void removeClassLoader(ClassLoader cl); 78 79 } 80 | Popular Tags |