|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.invocation.http.server.HttpInvoker
The HttpInvoker ... into the JMX base.
Field Summary |
Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
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 |
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()
Sub-classes should override this method to provide custum 'destroy' logic. |
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. |
protected Transaction (src) |
importTPC(java.lang.Object tpc)
Not implemented, and should not be |
java.lang.Object |
invoke(Invocation (src) invocation)
Invoke a Remote interface 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. |
protected void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
protected void |
stopService()
Sub-classes should override this method to provide custum 'stop' logic. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
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 (src) |
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 (src) |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Constructor Detail |
public HttpInvoker()
Method Detail |
public java.lang.String getInvokerURL()
HttpInvokerMBean (src)
getInvokerURL
in interface HttpInvokerMBean (src)
public void setInvokerURL(java.lang.String invokerURL)
HttpInvokerMBean (src)
setInvokerURL
in interface HttpInvokerMBean (src)
public java.lang.String getInvokerURLPrefix()
HttpInvokerMBean (src)
getInvokerURLPrefix
in interface HttpInvokerMBean (src)
public void setInvokerURLPrefix(java.lang.String invokerURLPrefix)
HttpInvokerMBean (src)
setInvokerURLPrefix
in interface HttpInvokerMBean (src)
public java.lang.String getInvokerURLSuffix()
HttpInvokerMBean (src)
getInvokerURLSuffix
in interface HttpInvokerMBean (src)
public void setInvokerURLSuffix(java.lang.String invokerURLSuffix)
HttpInvokerMBean (src)
setInvokerURLSuffix
in interface HttpInvokerMBean (src)
public boolean getUseHostName()
HttpInvokerMBean (src)
getUseHostName
in interface HttpInvokerMBean (src)
public void setUseHostName(boolean flag)
HttpInvokerMBean (src)
setUseHostName
in interface HttpInvokerMBean (src)
protected void startService() throws java.lang.Exception
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService
in class ServiceMBeanSupport (src)
java.lang.Exception
protected void stopService()
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
stopService
in class ServiceMBeanSupport (src)
protected void destroyService()
ServiceMBeanSupport (src)
This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
destroyService
in class ServiceMBeanSupport (src)
public java.lang.Object invoke(Invocation (src) invocation) throws java.lang.Exception
invoke
in interface HttpInvokerMBean (src)
java.lang.Exception
protected Transaction (src) importTPC(java.lang.Object tpc)
protected void checkInvokerURL() throws java.net.UnknownHostException
java.net.UnknownHostException
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |