|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceRegistrator
An interface to be implemented by services that performs service registrations.
Method Summary | |
---|---|
long |
registerService(String name,
Object serviceImplementation)
Registers a service to the service framework. |
void |
unregisterService(long id)
Unregisters a service from the service framework. |
Method Detail |
---|
long registerService(String name, Object serviceImplementation)
name
- The name of the service the register.serviceImplementation
- The implementation of the service.
void unregisterService(long id)
id
- The id of the service that should be removed. The id was
generated by registerService(String, Object)
.
IllegalStateException
- If this ServiceRegistration
object has already
been unregistered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |