Save This Page
Home » JBoss-5.1.0 » org.jboss.invocation.http » server » [javadoc | source]
org.jboss.invocation.http.server
public class: HttpProxyFactory [javadoc | source]
java.lang.Object
   org.jboss.mx.util.JBossNotificationBroadcasterSupport
      org.jboss.system.ServiceMBeanSupport
         org.jboss.invocation.http.server.HttpProxyFactory

All Implemented Interfaces:
    HttpProxyFactoryMBean, KernelControllerContextAware, ServiceMBean, MBeanRegistration, NotificationEmitter

Direct Known Subclasses:
    HttpProxyFactoryHA

Create an interface proxy that uses HTTP to communicate with the server side object that exposes the corresponding JMX invoke operation. Any request to this servlet receives a serialized object stream containing a MarshalledValue with the Naming proxy as its content.
Fields inherited from org.jboss.system.ServiceMBeanSupport:
SERVICE_CONTROLLER_SIG,  log,  server,  serviceName
Constructor:
 public HttpProxyFactory() 
Method from org.jboss.invocation.http.server.HttpProxyFactory Summary:
checkInvokerURL,   createInvoker,   defineDefaultInterceptors,   getClientInterceptors,   getExportedInterface,   getInvokerName,   getInvokerURL,   getInvokerURLPrefix,   getInvokerURLSuffix,   getJndiName,   getProxy,   getProxy,   getUseHostName,   setClientInterceptors,   setExportedInterface,   setInvokerName,   setInvokerURL,   setInvokerURLPrefix,   setInvokerURLSuffix,   setJndiName,   setUseHostName,   startService,   stopService
Methods from org.jboss.system.ServiceMBeanSupport:
create,   createService,   destroy,   destroyService,   getDeploymentInfo,   getLog,   getName,   getNextNotificationSequenceNumber,   getObjectName,   getServer,   getServiceName,   getState,   getStateString,   jbossInternalCreate,   jbossInternalDescription,   jbossInternalDestroy,   jbossInternalLifecycle,   jbossInternalStart,   jbossInternalStop,   pojoChange,   pojoCreate,   pojoDestroy,   pojoStart,   pojoStop,   postDeregister,   postRegister,   preDeregister,   preRegister,   setKernelControllerContext,   start,   startService,   stop,   stopService,   unsetKernelControllerContext
Methods from org.jboss.mx.util.JBossNotificationBroadcasterSupport:
addNotificationListener,   getNotificationInfo,   handleNotification,   nextNotificationSequenceNumber,   removeNotificationListener,   removeNotificationListener,   sendNotification
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.invocation.http.server.HttpProxyFactory Detail:
 protected  void checkInvokerURL() throws UnknownHostException 
    Validate that the invokerURL is set, and if not build it from the invokerURLPrefix + host + invokerURLSuffix. The host value will be taken from the jboss.bind.address system property if its a valid address, InetAddress.getLocalHost otherwise.
 protected Invoker createInvoker() throws Exception 
    Create the Invoker
 protected ArrayList defineDefaultInterceptors() 
    Build the default interceptor list. This consists of: ClientMethodInterceptor InvokerInterceptor
 public Element getClientInterceptors() 
 public Class getExportedInterface() 
 public ObjectName getInvokerName() 
 public String getInvokerURL() 
 public String getInvokerURLPrefix() 
 public String getInvokerURLSuffix() 
 public String getJndiName() 
 public Object getProxy() 
 public Object getProxy(Object id) 
 public boolean getUseHostName() 
 public  void setClientInterceptors(Element config) throws Exception 
 public  void setExportedInterface(Class exportedInterface) 
 public  void setInvokerName(ObjectName jmxInvokerName) 
 public  void setInvokerURL(String invokerURL) 
 public  void setInvokerURLPrefix(String invokerURLPrefix) 
 public  void setInvokerURLSuffix(String invokerURLSuffix) 
 public  void setJndiName(String jndiName) 
 public  void setUseHostName(boolean flag) 
 protected  void startService() throws Exception 
    Initializes the servlet.
 protected  void stopService() throws Exception