|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface is the centerpiece of the Openwings Management architecture.
The methods defined in this interface provide access to the management
capabilities associated with a component, therefore every Openwings
Component will contain a Manager object implementing
this interface.
A subset of these methods are exposed in the RemoteManager
interface, a service that allows management to be accessed remotely.
An implementation of this interface is
obtained using the ManagerFactory.
An Openwings Component can obtain a Manager
object by calling the
net.openwings.component.ComponentComplex.getManager()
method.
| Method Summary | |
void |
addMBean(MBean bean)
This method adds an MBean to this Manager. |
void |
addMBeanAdapter(MBeanAdapter adapter)
This method adds an MBeanAdapter to this
Manager. |
void |
addUserInterfaceFactory(UserInterfaceFactory factory)
This method adds a user interface factory to this Manager. |
void |
removeMBean(MBean bean)
This method removes an MBean from this Manager. |
void |
removeMBeanAdapter(MBeanAdapter adapter)
This method removes an MBeanAdapter. |
void |
removeUserInterfaceFactory(UserInterfaceFactory factory)
This method removes a user interface factory from this Manager. |
void |
shutdown()
This method is used to terminate all processing provided by a Manager. |
| Methods inherited from interface net.openwings.management.RemoteManager |
addManagerListener, getAdapterURLList, getAllMBeans, getInetAddress, getMBean, getUserInterfaceFactories, getUserInterfaceFactories, removeManagerListener |
| Method Detail |
public void addMBean(MBean bean)
MBean to this Manager.
bean - The management bean to be added.public void removeMBean(MBean bean)
MBean from this Manager.
bean - The management bean to be removed.public void addMBeanAdapter(MBeanAdapter adapter)
MBeanAdapter to this
Manager. All existing and MBeans in the
Manager will be passed to the MBeanAdapter.
adapter - the management bean adapterpublic void removeMBeanAdapter(MBeanAdapter adapter)
MBeanAdapter.
adapter - the management bean adapterpublic void addUserInterfaceFactory(UserInterfaceFactory factory)
Manager.
Factories added to the Manager should be used to create
user interfaces requested by the inherited method
RemoteManager.getUserInterface().
factory - the user interface factorypublic void removeUserInterfaceFactory(UserInterfaceFactory factory)
Manager.
factory - the user interface factorypublic void shutdown()
Manager. All registered MBeans and
ManagerListeners are removed, and all
MBeanAdapters are shutdown. The
RemoteManager service provided by the
Manager should be removed. After this method is
called, any operation on the Manager is undefined.
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||