public interface TopiaService
TopiaApplicationContext
startup and provides user extra operations not available in the topia core replication, IO, etc.| Modifier and Type | Method and Description |
|---|---|
void |
close()
Called when service is no longer necessary.
|
Class<?>[] |
getPersistenceClasses()
Retrieve entities of this service needed for persistence.
|
void |
initTopiaService(TopiaApplicationContext topiaApplicationContext,
Map<String,String> serviceConfiguration)
Initialize the service.
|
void initTopiaService(TopiaApplicationContext topiaApplicationContext, Map<String,String> serviceConfiguration)
topiaApplicationContext - is the TopiaApplicationContext
to which the current service is attached. It's the service
responsibility to keep a reference to it.serviceConfiguration - all the configuration directives for this service.Class<?>[] getPersistenceClasses()
void close()
TopiaApplicationContext.close()
is called.Copyright © 2004–2015 CodeLutin. All rights reserved.