org.jboss.invocation.http.server
Interface HttpInvokerMBean

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

public interface HttpInvokerMBean
extends org.jboss.system.ServiceMBean

The MBean interface for the HTTP invoker.

Version:
$Revision: 1.1.2.3 $
Author:
Scott.Stark@jboss.org

Field Summary
 
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
 String getInvokerURL()
          Get the URL string of the servlet that will handle posts from the HttpInvokerProxy
 String getInvokerURLPrefix()
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 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.
 Object invoke(Invocation invocation)
          The invoker JMX method
 void setInvokerURL(String invokerURL)
          Get the URL string of the servlet that will handle posts from the HttpInvokerProxy.
 void setInvokerURLPrefix(String invokerURLPrefix)
          If there is no invokerURL set, then one will be constructed via the concatenation of invokerURLPrefix + the local host + invokerURLSuffix.
 void setInvokerURLSuffix(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
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Method Detail

getInvokerURL

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


setInvokerURL

public void setInvokerURL(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 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(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 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(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 Object invoke(Invocation invocation)
              throws Exception
The invoker JMX method

Throws:
Exception


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