当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
NotificationListenerProxy (JBoss/JMX API) - JBoss 4.0.1 sp1 jmx API Documentation 英文版文档
org.jboss.mx.notification
Class NotificationListenerProxy
java.lang.Object
org.jboss.mx.notification.NotificationListenerProxy
- All Implemented Interfaces:
- InvocationHandler
- public class NotificationListenerProxy
- extends Object
- implements InvocationHandler
A notification listener used to forward notifications to listeners
added through the mbean server.
The original source is replaced with the object name.
- Version:
- $Revision: 1.4 $
- Author:
- Adrian Brock., Tom Elrod.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationListenerProxy
public NotificationListenerProxy(ObjectName name,
NotificationListener listener)
- Create a new Notification Listener Proxy
- Parameters:
name
- the object namelistener
- the original listener
newInstance
public static Object newInstance(ObjectName name,
NotificationListener listener)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Throws:
Throwable
proxyHashCode
protected Integer proxyHashCode(Object proxy)
proxyEquals
protected Boolean proxyEquals(Object proxy,
Object other)
proxyToString
protected String proxyToString(Object proxy)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.