|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TopiaService
Used to implement a service for Topia. You have to provide a static property called SERVICE_NAME that identify the service :
getServiceName() method.
| Method Summary | |
|---|---|
java.lang.Class<?>[] |
getPersistenceClasses()
Retrieve entities of this service needed for persistence. |
java.lang.String |
getServiceName()
Return the name of the service, this name need to match with configuration file, for example for index service, we need to have : "topia.service.index" and this method will returned "index". |
boolean |
postInit(TopiaContextImplementor context)
Initiliaze the service after create the context. |
boolean |
preInit(TopiaContextImplementor context)
Initiliaze the service before create the context. |
| Method Detail |
|---|
java.lang.String getServiceName()
java.lang.Class<?>[] getPersistenceClasses()
boolean preInit(TopiaContextImplementor context)
context.
context - TopiaContextImplementor
boolean postInit(TopiaContextImplementor context)
context.
context - TopiaContextImplementor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||