|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceBeanAdapterMBean
Provides a standard MBean to use when administering a ServiceBean using JMX
| Method Summary | |
|---|---|
void |
advertise()
The advertise method provides the capability for a ServiceBean to advertise itself on the network providing access to all clients. |
void |
destroy()
The destroy method will destroy the ServiceBean forceably |
void |
destroy(boolean force)
The destroy method is used to destroy a ServiceBeanAdapter. |
String[] |
getLookupGroups()
Get the discovery groups |
Date |
getStarted()
Get the Date the ServiceBean was started |
void |
setLookupGroups(String[] groups)
Set the discovery groups |
void |
unadvertise()
The unadvertise method informs the ServiceBean to cancel all advertisements (registrations, etc...) it has made on the network. |
| Method Detail |
|---|
void advertise()
throws IOException
IOException - If errors occur accessing underlying communication
mechanisms
IllegalStateException - If the state transition is illegalvoid unadvertise()
IllegalStateException - If the state transition is illegalvoid destroy()
IllegalStateException - If the state transition is illegalvoid destroy(boolean force)
force - If true, unexports the ServiceBean even if there are
pending or in-progress calls; if false, only unexports the ServiceBean
if there are no pending or in-progress calls
If the force parameters is false, unexporting
the ServiceBean will be governed by the following configuration
properties:
IllegalStateException - If the state transition is illegalDate getStarted()
String[] getLookupGroups()
void setLookupGroups(String[] groups)
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||