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.modelmbean;
10:
11: import javax.management.DynamicMBean;
12: import javax.management.InstanceNotFoundException;
13: import javax.management.MBeanException;
14: import javax.management.PersistentMBean;
15: import javax.management.RuntimeOperationsException;
16:
17: /**
18: * @version $Revision: 1.4 $
19: */
20: public interface ModelMBean extends DynamicMBean, PersistentMBean,
21: ModelMBeanNotificationBroadcaster {
22: public void setModelMBeanInfo(ModelMBeanInfo modelMBeanInfo)
23: throws MBeanException, RuntimeOperationsException;
24:
25: public void setManagedResource(Object resource, String resourceType)
26: throws MBeanException, RuntimeOperationsException,
27: InstanceNotFoundException, InvalidTargetObjectTypeException;
28: }
|