|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.invocation.http.server.HttpInvoker
The HttpInvoker ... into the JMX base.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
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 |
Constructor Summary | |
HttpInvoker()
|
Method Summary | |
protected void |
checkInvokerURL()
Validate that the invokerURL is set, and if not build it from the invokerURLPrefix + host + invokerURLSuffix. |
protected void |
destroyService()
|
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. |
protected Transaction |
importTPC(Object tpc)
Not implemented, and should not be |
Object |
invoke(Invocation invocation)
Invoke a Remote interface 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. |
protected void |
startService()
|
protected void |
stopService()
|
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Constructor Detail |
public HttpInvoker()
Method Detail |
public String getInvokerURL()
HttpInvokerMBean
getInvokerURL
in interface HttpInvokerMBean
public void setInvokerURL(String invokerURL)
HttpInvokerMBean
setInvokerURL
in interface HttpInvokerMBean
public String getInvokerURLPrefix()
HttpInvokerMBean
getInvokerURLPrefix
in interface HttpInvokerMBean
public void setInvokerURLPrefix(String invokerURLPrefix)
HttpInvokerMBean
setInvokerURLPrefix
in interface HttpInvokerMBean
public String getInvokerURLSuffix()
HttpInvokerMBean
getInvokerURLSuffix
in interface HttpInvokerMBean
public void setInvokerURLSuffix(String invokerURLSuffix)
HttpInvokerMBean
setInvokerURLSuffix
in interface HttpInvokerMBean
public boolean getUseHostName()
HttpInvokerMBean
getUseHostName
in interface HttpInvokerMBean
public void setUseHostName(boolean flag)
HttpInvokerMBean
setUseHostName
in interface HttpInvokerMBean
protected void startService() throws Exception
Exception
protected void stopService()
protected void destroyService()
public Object invoke(Invocation invocation) throws Exception
invoke
in interface HttpInvokerMBean
Exception
protected Transaction importTPC(Object tpc)
protected void checkInvokerURL() throws UnknownHostException
UnknownHostException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |