public interface TopiaService
getServiceName() method.| Modifier and Type | Method and Description |
|---|---|
Class<?>[] |
getPersistenceClasses()
Retrieve entities of this service needed for persistence.
|
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(TopiaContext context)
Initiliaze the service after create the
context. |
boolean |
preInit(TopiaContext context)
Initiliaze the service before create the
context. |
String getServiceName()
Class<?>[] getPersistenceClasses()
boolean preInit(TopiaContext context)
context.context - boolean postInit(TopiaContext context)
context.context - Copyright © 2004–2013 CodeLutin. All rights reserved.