|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Bundle
A Bundle provides services and has a lifecyle: - register the services that it provides - initialize the services One bundle might have multiple services When initialize() is called before registerServices, the behavior is undefined
| Method Summary | |
|---|---|
void |
initializeBundle(ServiceContext serviceContext)
Initializes the services that this bundle provides |
void |
registerServices(ServiceContext serviceContext)
Allows bundle to provide all the services that it has This method has to be called before initializeBundle |
| Method Detail |
|---|
void registerServices(ServiceContext serviceContext)
serviceContext - void initializeBundle(ServiceContext serviceContext)
serviceContext -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||