01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management;
10:
11: /**
12: * @version $Revision: 1.7 $
13: */
14: public interface DynamicMBean {
15: public MBeanInfo getMBeanInfo();
16:
17: public Object getAttribute(String attribute)
18: throws AttributeNotFoundException, MBeanException,
19: ReflectionException;
20:
21: public void setAttribute(Attribute attribute)
22: throws AttributeNotFoundException,
23: InvalidAttributeValueException, MBeanException,
24: ReflectionException;
25:
26: public AttributeList getAttributes(String[] attributes);
27:
28: public AttributeList setAttributes(AttributeList attributes);
29:
30: public Object invoke(String method, Object[] arguments,
31: String[] params) throws MBeanException, ReflectionException;
32: }
|