Fields inherited from interface org.jboss.invocation.Invoker |
ID |
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 |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, stop, stopService, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalInvoker
public LocalInvoker()
createService
protected void createService()
throws Exception
- Overrides:
createService
in class ServiceMBeanSupport
- Throws:
Exception
startService
protected void startService()
throws Exception
- Overrides:
startService
in class ServiceMBeanSupport
- Throws:
Exception
destroyService
protected void destroyService()
- Overrides:
destroyService
in class ServiceMBeanSupport
getServerHostName
public String getServerHostName()
- Description copied from interface:
Invoker
- A free form String identifier for this delegate invoker, can be clustered or target node
This should evolve in a more advanced meta-inf object
- Specified by:
getServerHostName
in interface Invoker
invoke
public Object invoke(Invocation invocation)
throws Exception
- Invoke a method.
- Specified by:
invoke
in interface Invoker
- Parameters:
invocation
- A pointer to the invocation object
- Returns:
- Return value of method invocation.
- Throws:
Exception
- Failed to invoke method.
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.