| java.lang.Object mx4j.examples.remote.interception.SubjectTrackingMBeanServer
SubjectTrackingMBeanServer | public class SubjectTrackingMBeanServer implements MBeanServerForwarder(Code) | | This class tracks the Subject of the current invocation, and prints it to System.out.
It should be better implemented as JDK 1.3 dynamic proxy, but this is left as a simple
exercise to the reader ;)
version: $Revision: 1.1 $ |
Method Summary | |
public void | addNotificationListener(ObjectName observed, NotificationListener listener, NotificationFilter filter, Object handback) | public void | addNotificationListener(ObjectName observed, ObjectName listener, NotificationFilter filter, Object handback) | public ObjectInstance | createMBean(String className, ObjectName objectName) | public ObjectInstance | createMBean(String className, ObjectName objectName, ObjectName loaderName) | public ObjectInstance | createMBean(String className, ObjectName objectName, Object[] args, String[] parameters) | public ObjectInstance | createMBean(String className, ObjectName objectName, ObjectName loaderName, Object[] args, String[] parameters) | public ObjectInputStream | deserialize(String className, ObjectName loaderName, byte[] bytes) | public ObjectInputStream | deserialize(String className, byte[] bytes) | public ObjectInputStream | deserialize(ObjectName objectName, byte[] bytes) | public Object | getAttribute(ObjectName objectName, String attribute) | public AttributeList | getAttributes(ObjectName objectName, String[] attributes) | public ClassLoader | getClassLoader(ObjectName loaderName) | public ClassLoader | getClassLoaderFor(ObjectName mbeanName) | public ClassLoaderRepository | getClassLoaderRepository() | public String | getDefaultDomain() | public String[] | getDomains() | public Integer | getMBeanCount() | public MBeanInfo | getMBeanInfo(ObjectName objectName) | public synchronized MBeanServer | getMBeanServer() | public ObjectInstance | getObjectInstance(ObjectName objectName) | public Object | instantiate(String className) | public Object | instantiate(String className, ObjectName loaderName) | public Object | instantiate(String className, Object[] args, String[] parameters) | public Object | instantiate(String className, ObjectName loaderName, Object[] args, String[] parameters) | public Object | invoke(ObjectName objectName, String methodName, Object[] args, String[] parameters) | public boolean | isInstanceOf(ObjectName objectName, String className) | public boolean | isRegistered(ObjectName objectname) | public Set | queryMBeans(ObjectName patternName, QueryExp filter) | public Set | queryNames(ObjectName patternName, QueryExp filter) | public ObjectInstance | registerMBean(Object mbean, ObjectName objectName) | public void | removeNotificationListener(ObjectName observed, ObjectName listener) | public void | removeNotificationListener(ObjectName observed, NotificationListener listener) | public void | removeNotificationListener(ObjectName observed, ObjectName listener, NotificationFilter filter, Object handback) | public void | removeNotificationListener(ObjectName observed, NotificationListener listener, NotificationFilter filter, Object handback) | public void | setAttribute(ObjectName objectName, Attribute attribute) | public AttributeList | setAttributes(ObjectName objectName, AttributeList attributes) | public synchronized void | setMBeanServer(MBeanServer server) | public void | unregisterMBean(ObjectName objectName) |
|
|