|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface describes a service which can be used to control
the management of a component. An implementation of Openwings Management
Services should use Component Services to provide a service implementing
this interface. This interface provides access to the
MBeans installed in a component and the ability to
register ManagerListeners for notification of the addition
or removal of MBeans.
This interface contains a subset of the methods in the
Manager interface.
| Method Summary | |
void |
addManagerListener(ManagerListener listener)
This method registers an ManagerListener which
will be notified when MBeans are added or removed from
this Manager. |
java.net.URL[] |
getAdapterURLList()
This method is used to obtain a set of URLs which can be
used to access adapted MBeans (i.e. |
MBean[] |
getAllMBeans()
This method returns all MBeans
registered with the Manager. |
java.net.InetAddress |
getInetAddress()
This method returns the host on which the Manager is running. |
MBean[] |
getMBean(java.lang.Class componentType)
This method will return all MBeans of the requested
type that are registered with the Manager. |
UserInterfaceFactory[] |
getUserInterfaceFactories(MBean bean)
This method is used to obtain user interface factories available that can build a user interface for a particular service interface. |
UserInterfaceFactory[] |
getUserInterfaceFactories(MBean bean,
java.lang.Class[] desiredUserInterfaceClasses)
This method is used to obtain user interface factories available that can build a user interface for a particular service interface. |
void |
removeManagerListener(ManagerListener listener)
This method unregisters a previously registered ManagerListener. |
| Method Detail |
public java.net.InetAddress getInetAddress()
throws java.rmi.RemoteException
Manager is running.
java.rmi.RemoteException - For any communication-related exception.
public java.net.URL[] getAdapterURLList()
throws java.rmi.RemoteException
URLs which can be
used to access adapted MBeans (i.e. from a web browser).
URLs
java.rmi.RemoteException - For any communication-related exception.
public MBean[] getMBean(java.lang.Class componentType)
throws java.rmi.RemoteException
MBeans of the requested
type that are registered with the Manager.
MBean instances.
java.rmi.RemoteException - For any communication-related exception.
public MBean[] getAllMBeans()
throws java.rmi.RemoteException
MBeans
registered with the Manager.
MBean instances.
java.rmi.RemoteException - For any communication-related exception.
public void addManagerListener(ManagerListener listener)
throws java.rmi.RemoteException
ManagerListener which
will be notified when MBeans are added or removed from
this Manager.
listener - The listener to be added.
java.rmi.RemoteException - For any communication-related exception.
public void removeManagerListener(ManagerListener listener)
throws java.rmi.RemoteException
ManagerListener.
listener - The listener to be removed.
java.rmi.RemoteException - For any communication-related exception.
public UserInterfaceFactory[] getUserInterfaceFactories(MBean bean)
throws java.rmi.RemoteException
UserInterfaceFactory objects are returned,
they can be used to generate the actual user interface.
bean - the MBean for which a user interface is needed.
null if no factories
were installed with this RemoteManager.
java.rmi.RemoteException - For any communication-related exception.UserInterfaceBuilder
public UserInterfaceFactory[] getUserInterfaceFactories(MBean bean,
java.lang.Class[] desiredUserInterfaceClasses)
throws java.rmi.RemoteException
UserInterfaceFactory objects are returned,
they can be used to generate the actual user interface.
bean - the MBean for which a user interface is needed.desiredUserInterfaceClasses - array of Java types of user
interfaces which are acceptable
null if no factories
were installed with this RemoteManager.
java.rmi.RemoteExceptionUserInterfaceBuilder
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||