public class ServerInterfaceManagerImpl extends Object implements ServerInterfaceManager
Constructor and Description |
---|
ServerInterfaceManagerImpl(Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories) |
ServerInterfaceManagerImpl(Object target,
ServerSideToolkit ojmb,
ServerInterfaceHandlerFactory<?,?>[] serverHandlerFactories,
OddjobJMXAccessController accessController)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.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