|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceBeanControl
The ServiceBeanControl interface specifies remote lifecycle control semantics for a ServiceBean
| Method Summary | |
|---|---|
void |
advertise()
The advertise method informs a ServiceBean to advertise itself on the network providing access to all clients. |
Object |
start()
The start method provides informs a ServiceBean to make itself ready to accept inbound communications, returning an Object which can be used to communicate with the ServiceBean. |
void |
stop(boolean force)
The stop method informs the ServiceBean to unexport itself from any underlying distributed Object communication mechanisms making it incapable of accepting inbound communications. |
void |
unadvertise()
The unadvertise method informs the ServiceBean to cancel all advertisements (registrations, etc...) it has made on the network. |
| Method Detail |
|---|
Object start()
throws JSBControlException,
RemoteException
JSBControlException - If any errors occur
RemoteException - If any communications errors occur
void stop(boolean force)
throws JSBControlException,
RemoteException
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
JSBControlException - If any errors occur
RemoteException - If any communications errors occur
void advertise()
throws JSBControlException,
RemoteException
JSBControlException - If any errors occur
RemoteException - If any communications errors occur
void unadvertise()
throws JSBControlException,
RemoteException
JSBControlException - If any errors occur
RemoteException - If any communications errors occur
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||