argos.proxy
Class DynamicProxy
java.lang.Object
argos.proxy.DynamicProxy
- All Implemented Interfaces:
- NotificationProxy, DynamicMBean, NotificationBroadcaster, NotificationEmitter
public final class DynamicProxy
- extends Object
- implements DynamicMBean, NotificationProxy, NotificationEmitter
Created on 24. juni 2006, 18:50
- Author:
- Dan Peder Eriksen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_DESCRIPTION
public static final String NO_DESCRIPTION
- See Also:
- Constant Field Values
ACTION
public static final String ACTION
- See Also:
- Constant Field Values
ACTION_INFO
public static final String ACTION_INFO
- See Also:
- Constant Field Values
INFO
public static final String INFO
- See Also:
- Constant Field Values
DynamicProxy
public DynamicProxy(String namingServiceName,
Object mbean,
Boolean verbose)
getAttribute
public Object getAttribute(String attribute)
throws AttributeNotFoundException
- Specified by:
getAttribute
in interface DynamicMBean
- Throws:
AttributeNotFoundException
getAttributes
public AttributeList getAttributes(String[] attributes)
- Specified by:
getAttributes
in interface DynamicMBean
invoke
public Object invoke(String actionName,
Object[] params,
String[] signature)
throws MBeanException,
ReflectionException
- Specified by:
invoke
in interface DynamicMBean
- Throws:
MBeanException
ReflectionException
setAttribute
public void setAttribute(Attribute attribute)
- Specified by:
setAttribute
in interface DynamicMBean
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributes
in interface DynamicMBean
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo
in interface DynamicMBean
getMbean
public Object getMbean()
- Specified by:
getMbean
in interface NotificationProxy
getName
public String getName()
addNotificationListener
public void addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Specified by:
addNotificationListener
in interface NotificationBroadcaster
removeNotificationListener
public void removeNotificationListener(NotificationListener listener)
- Specified by:
removeNotificationListener
in interface NotificationBroadcaster
removeNotificationListener
public void removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
- Specified by:
removeNotificationListener
in interface NotificationEmitter
getNotificationInfo
public MBeanNotificationInfo[] getNotificationInfo()
- Specified by:
getNotificationInfo
in interface NotificationBroadcaster
send
public void send(Notification not)
- Specified by:
send
in interface NotificationProxy
Copyright © 2004-2007 University of Troms?. All Rights Reserved.