com.sun.appserv.management.util.jmx
Class MBeanServerConnection_Hook.HookImpl
java.lang.Object
com.sun.appserv.management.util.jmx.MBeanServerConnection_Hook.HookImpl
- All Implemented Interfaces:
- MBeanServerConnection_Hook.Hook
- Enclosing class:
- MBeanServerConnection_Hook
public static class MBeanServerConnection_Hook.HookImpl
- extends Object
- implements MBeanServerConnection_Hook.Hook
Method Summary |
void |
InstanceNotFoundExceptionHook(String methodName,
long id,
InstanceNotFoundException e)
|
void |
IOExceptionHook(long id,
IOException e,
String operationName,
ObjectName objectName,
Object[] allArgs)
Should throw the exception 'e' |
ObjectName |
nameHook(long id,
ObjectName methodName)
|
void |
postHook(long id,
String methodName)
|
void |
postHook(long id,
String methodName,
Object[] args)
|
void |
postHook(long id,
String methodName,
Object[] args,
Object result)
|
long |
preHook(String methodName)
|
long |
preHook(String methodName,
Object[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOOK
public static final MBeanServerConnection_Hook.HookImpl HOOK
MBeanServerConnection_Hook.HookImpl
public MBeanServerConnection_Hook.HookImpl()
preHook
public long preHook(String methodName)
- Specified by:
preHook
in interface MBeanServerConnection_Hook.Hook
preHook
public long preHook(String methodName,
Object[] args)
- Specified by:
preHook
in interface MBeanServerConnection_Hook.Hook
postHook
public void postHook(long id,
String methodName)
- Specified by:
postHook
in interface MBeanServerConnection_Hook.Hook
postHook
public void postHook(long id,
String methodName,
Object[] args)
- Specified by:
postHook
in interface MBeanServerConnection_Hook.Hook
postHook
public void postHook(long id,
String methodName,
Object[] args,
Object result)
- Specified by:
postHook
in interface MBeanServerConnection_Hook.Hook
nameHook
public ObjectName nameHook(long id,
ObjectName methodName)
throws IOException
- Specified by:
nameHook
in interface MBeanServerConnection_Hook.Hook
- Throws:
IOException
IOExceptionHook
public void IOExceptionHook(long id,
IOException e,
String operationName,
ObjectName objectName,
Object[] allArgs)
throws IOException
- Description copied from interface:
MBeanServerConnection_Hook.Hook
- Should throw the exception 'e'
- Specified by:
IOExceptionHook
in interface MBeanServerConnection_Hook.Hook
- Throws:
IOException
InstanceNotFoundExceptionHook
public void InstanceNotFoundExceptionHook(String methodName,
long id,
InstanceNotFoundException e)
throws InstanceNotFoundException
- Specified by:
InstanceNotFoundExceptionHook
in interface MBeanServerConnection_Hook.Hook
- Throws:
InstanceNotFoundException
Submit a bug or feature Copyright 2006 Sun Microsystems, Inc. All rights reserved.