|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 HttpInvokerMBeanpublic void setInvokerURL(String invokerURL)
HttpInvokerMBean
setInvokerURL in interface HttpInvokerMBeanpublic String getInvokerURLPrefix()
HttpInvokerMBean
getInvokerURLPrefix in interface HttpInvokerMBeanpublic void setInvokerURLPrefix(String invokerURLPrefix)
HttpInvokerMBean
setInvokerURLPrefix in interface HttpInvokerMBeanpublic String getInvokerURLSuffix()
HttpInvokerMBean
getInvokerURLSuffix in interface HttpInvokerMBeanpublic void setInvokerURLSuffix(String invokerURLSuffix)
HttpInvokerMBean
setInvokerURLSuffix in interface HttpInvokerMBeanpublic boolean getUseHostName()
HttpInvokerMBean
getUseHostName in interface HttpInvokerMBeanpublic void setUseHostName(boolean flag)
HttpInvokerMBean
setUseHostName in interface HttpInvokerMBean
protected void startService()
throws Exception
Exceptionprotected void stopService()
protected void destroyService()
public Object invoke(Invocation invocation) throws Exception
invoke in interface HttpInvokerMBeanExceptionprotected 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 | ||||||||||