|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jdmk.cascading.CascadeGenericProxy
com.sun.jdmk.remote.cascading
in
preference to classes in this package. This class may be removed
in a future version of Java DMK.
Dynamic MBean representing a subagent MBean in the master agent.
It has a reference to the GenericProxy representing the "cascaded" MBean.
For each "cascaded" MBean the corresponding CascadeGenericProxy
is created by the cascading service
(CascadingAgent
).
Constructor Summary | |
CascadeGenericProxy(GenericProxy gen)
Deprecated. Creates a CascadeGenericProxy for a "cascaded" MBean represented by the
GenericProxy passed in parameter. |
Method Summary | |
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
Deprecated. |
Object |
getAttribute(String attribute)
Deprecated. Gets the value of a specific attribute of an MBean. |
AttributeList |
getAttributes(String[] attributes)
Deprecated. Gets the values of several attributes of an MBean. |
MBeanInfo |
getMBeanInfo()
Deprecated. This method provides the exposed attributes and actions of the MBean. |
MBeanNotificationInfo[] |
getNotificationInfo()
Deprecated. |
Object |
invoke(String actionName,
Object[] params,
String[] signature)
Deprecated. Invokes a method of an MBean. |
void |
removeNotificationListener(NotificationListener listener)
Deprecated. |
void |
setAttribute(Attribute attribute)
Deprecated. Sets the value of a specific attribute of an MBean. |
AttributeList |
setAttributes(AttributeList attributes)
Deprecated. Sets the values of several attributes of an MBean. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CascadeGenericProxy(GenericProxy gen)
CascadeGenericProxy
for a "cascaded" MBean represented by the
GenericProxy
passed in parameter.
Method Detail |
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
addNotificationListener
in interface NotificationBroadcaster
IllegalArgumentException
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
ListenerNotFoundException
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
public Object getAttribute(String attribute) throws AttributeNotFoundException, MBeanException, ReflectionException
getAttribute
in interface DynamicMBean
attribute
- The name of the attribute to be retrieved.
serializable
.
AttributeNotFoundException
- The attribute specified is not accessible in the MBean.
MBeanException
- Wraps an exception thrown by the MBean's getter.
ReflectionException
- Wraps an exception thrown while trying to instantiate and apply the
operator specified in Modification.public void setAttribute(Attribute attribute) throws AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute
in interface DynamicMBean
attribute
- The modification to be performed: The identification of the
attribute to be set, the value it is to be set to, and the operator to apply.
The value of the attribute can be any Java object that is serializable
.
AttributeNotFoundException
- The attribute specified is not accessible in the MBean.
InvalidAttributeValueException
- The value specified for the attribute is not valid.
MBeanException
- Wraps an exception thrown by the MBean's setter.
ReflectionException
- Wraps a java.lang.Exception
thrown while trying to invoke the setter.public AttributeList getAttributes(String[] attributes)
getAttributes
in interface DynamicMBean
attributes
- A list of the attributes to be retrieved.
serializable
.public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean
attributes
- A list of attributes: The identification of the
attributes to be set and the values to which they are to be set.
The value of the attributes can be any Java object that is serializable
.
serializable
.public Object invoke(String actionName, Object[] params, String[] signature) throws MBeanException, ReflectionException
invoke
in interface DynamicMBean
actionName
- The name of the method to be invoked.params
- An array containing the arguments to be set when the
method is invoked.
An argument can be any Java object that is serializable
.signature
- An array containing the signature of the method.
serializable
.
MBeanException
- Wraps an exception thrown by the MBean's
invoked method.
ReflectionException
- Wraps a
java.lang.Exception
thrown while trying to
invoke the method.public MBeanInfo getMBeanInfo()
MBeanInfo
object.
getMBeanInfo
in interface DynamicMBean
MBeanInfo
allowing all attributes and actions of
this MBean to be retrieved.
|
FCS Release jdmk-5_1-b34.1 2005.02.10_16:46:09_MET |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |