|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.talika.tarsis.service.AbstractService
Base implementation of Service interface.
| Constructor Summary | |
|---|---|
AbstractService()
Creates a new AbstractService object. |
|
| Method Summary | |
|---|---|
void |
destroy()
Called by the framework to indicate that is being placed out of service. |
protected Context |
getContext()
Returns the Tarsis context. |
protected Logger |
getLogger()
Returns the Tarsis logger. |
abstract java.lang.String |
getName()
Returns name of service. |
void |
init(Context context)
Called by the framework to indicate that is being placed into service. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AbstractService()
AbstractService object.
| Method Detail |
public void init(Context context)
throws ServiceException
init in interface Servicecontext - Context context that initialized service.
ServiceException - if an exception has occurred that interferes with the
services's normal operationService.init(Context)public void destroy()
destroy in interface ServiceService.destroy()public abstract java.lang.String getName()
getName in interface ServiceService.getName()protected final Context getContext()
protected final Logger getLogger()
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||