com.sun.appserv.management.base
Interface StdAttributesAccess

All Known Subinterfaces:
Extra

public interface StdAttributesAccess

Standard API for access to JMX MBean Attributes. The exceptions from these calls are the same as those that would be thrown if the same routines were invoked through an MBeanServerConnection.


Method Summary
 Object getAttribute(String name)
           
 AttributeList getAttributes(String[] names)
           
 void setAttribute(Attribute attr)
           
 AttributeList setAttributes(AttributeList attrs)
           
 

Method Detail

getAttribute

Object getAttribute(String name)
                    throws InstanceNotFoundException,
                           ReflectionException,
                           MBeanException,
                           AttributeNotFoundException,
                           IOException
Throws:
InstanceNotFoundException
ReflectionException
MBeanException
AttributeNotFoundException
IOException

getAttributes

AttributeList getAttributes(String[] names)
                            throws InstanceNotFoundException,
                                   ReflectionException,
                                   IOException
Throws:
InstanceNotFoundException
ReflectionException
IOException

setAttribute

void setAttribute(Attribute attr)
                  throws InstanceNotFoundException,
                         ReflectionException,
                         MBeanException,
                         AttributeNotFoundException,
                         InvalidAttributeValueException,
                         IOException
Throws:
InstanceNotFoundException
ReflectionException
MBeanException
AttributeNotFoundException
InvalidAttributeValueException
IOException

setAttributes

AttributeList setAttributes(AttributeList attrs)
                            throws InstanceNotFoundException,
                                   ReflectionException,
                                   IOException
Throws:
InstanceNotFoundException
ReflectionException
IOException