org.jboss.invocation.http.server
Interface HttpInvokerMBean

All Superinterfaces:
Service (src) , ServiceMBean (src)
All Known Implementing Classes:
HttpInvoker (src)

public interface HttpInvokerMBean
extends ServiceMBean (src)

The MBean interface for the HTTP invoker.


Field Summary
 
Fields inherited from interface org.jboss.system.ServiceMBean (src)
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED
 
Method Summary
 java.lang.String getInvokerURL()
          Get the URL string of the servlet that will handle posts from the HttpInvokerProxy
 java.lang.String getInvokerURLPrefix()
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 java.lang.String getInvokerURLSuffix()
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 boolean getUseHostName()
          A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix.
 java.lang.Object invoke(Invocation (src)  invocation)
          The invoker JMX method
 void setInvokerURL(java.lang.String invokerURL)
          Get the URL string of the servlet that will handle posts from the HttpInvokerProxy.
 void setInvokerURLPrefix(java.lang.String invokerURLPrefix)
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 void setInvokerURLSuffix(java.lang.String invokerURLSuffix)
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 void setUseHostName(boolean flag)
          A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix.
 
Methods inherited from interface org.jboss.system.ServiceMBean (src)
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service (src)
create, destroy, start, stop
 

Method Detail

getInvokerURL

public java.lang.String getInvokerURL()
Get the URL string of the servlet that will handle posts from the HttpInvokerProxy


setInvokerURL

public void setInvokerURL(java.lang.String invokerURL)
Get the URL string of the servlet that will handle posts from the HttpInvokerProxy. For example, http://webhost:8080/invoker/JMXInvokerServlet


getInvokerURLPrefix

public java.lang.String getInvokerURLPrefix()
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.


setInvokerURLPrefix

public void setInvokerURLPrefix(java.lang.String invokerURLPrefix)
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix. An example prefix is "http://", and this is the default value.


getInvokerURLSuffix

public java.lang.String getInvokerURLSuffix()
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.


setInvokerURLSuffix

public void setInvokerURLSuffix(java.lang.String invokerURLSuffix)
If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix. An example suffix is "/invoker/JMXInvokerServlet" and this is the default value.


getUseHostName

public boolean getUseHostName()
A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix. If true getHostName() is used, false getHostAddress().


setUseHostName

public void setUseHostName(boolean flag)
A flag if the InetAddress.getHostName() or getHostAddress() method should be used as the host component of invokerURLPrefix + host + invokerURLSuffix. If true getHostName() is used, false getHostAddress().


invoke

public java.lang.Object invoke(Invocation (src)  invocation)
                        throws java.lang.Exception
The invoker JMX method

Throws:
java.lang.Exception