|
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 management bean that can be used to access information about a component:
The management bean can also be used to shut down the component
Every implementation of Component Services should register
a ComponentMBean with the Management Services
infrastructure.
| Method Summary | |
ServiceDescriptor[] |
getProvidedServices()
This method is used to get all of the services being provided by this component. |
ServiceDescriptor[] |
getPublishedServices()
This method is used to get all of the services being published by this component. |
ServiceDescriptor[] |
getSubscribedServices()
This method is used to get all of the services being subscribed by this component. |
ServiceDescriptor[] |
getUsedServices()
This method is used to get all of the services being used by this component. |
UserInterfaceDescriptor[] |
getUserInterfaceDescriptors(ServiceDescriptor descriptor)
This method is used to get the UserInterfaces that were published with the service. |
void |
shutdown()
This method shuts down the component, disconnecting all services used and provided by the component. |
| Methods inherited from interface net.openwings.management.MBean |
getMBeanInfo |
| Method Detail |
public ServiceDescriptor[] getUsedServices()
throws java.rmi.RemoteException
java.rmi.RemoteException - for communication errors
public ServiceDescriptor[] getProvidedServices()
throws java.rmi.RemoteException
java.rmi.RemoteException - for communication errors
public ServiceDescriptor[] getSubscribedServices()
throws java.rmi.RemoteException
java.rmi.RemoteException - for communication errors
public ServiceDescriptor[] getPublishedServices()
throws java.rmi.RemoteException
java.rmi.RemoteException - for communication errors
public UserInterfaceDescriptor[] getUserInterfaceDescriptors(ServiceDescriptor descriptor)
throws java.rmi.RemoteException
descriptor - of a provided or published service
java.rmi.RemoteException - for communication errors
public void shutdown()
throws java.lang.SecurityException,
java.rmi.RemoteException
java.rmi.RemoteException - for communication errors
java.lang.SecurityException - if this action is not supported
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||