|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.jmx.server.ServerInterfaceManagerImpl
public class ServerInterfaceManagerImpl
Simple Implementation of an InterfaceManager.
Constructor Summary | |
---|---|
ServerInterfaceManagerImpl(Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
|
|
ServerInterfaceManagerImpl(Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories,
OddjobJMXAccessController accessController)
Constructor. |
Method Summary | |
---|---|
ClientHandlerResolver<?>[] |
allClientInfo()
Return the interface supported. |
void |
destroy()
Called when an MBean is being destroyed. |
MBeanInfo |
getMBeanInfo()
Get the MBeanInfo based on all the interfaces. |
Object |
invoke(String actionName,
Object[] params,
String[] signature)
Invoke a method using the arguments as received by an MBean. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerInterfaceManagerImpl(Object target, ServerSideToolkit ojmb, ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories)
public ServerInterfaceManagerImpl(Object target, ServerSideToolkit ojmb, ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories, OddjobJMXAccessController accessController)
target.
- The target object the OddjobMBean is representing.ojmb
- The OddjobMBean.serverHandlerFactories
- The InterfaceInfos.Method Detail |
---|
public ClientHandlerResolver<?>[] allClientInfo()
ServerInterfaceManager
allClientInfo
in interface ServerInterfaceManager
public MBeanInfo getMBeanInfo()
ServerInterfaceManager
getMBeanInfo
in interface ServerInterfaceManager
public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
ServerInterfaceManager
invoke
in interface ServerInterfaceManager
actionName
- The action (method) name.params
- An array of object that are the parameters.signature
- An array of Strings that are class names.
MBeanException
ReflectionException
public void destroy()
ServerInterfaceManager
destroy
in interface ServerInterfaceManager
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |