Interface TopiaService

All Known Subinterfaces:
TopiaMigrationService
All Known Implementing Classes:
HibernateTopiaMigrationService

public interface TopiaService
Used to implement a service for Topia. A TopiaService is started at the very beginning of the TopiaApplicationContext startup and provides user extra operations not available in the topia core replication, IO, etc.
  • Method Details

    • initTopiaService

      void initTopiaService(TopiaApplicationContext topiaApplicationContext, Map<String,String> serviceConfiguration)
      Initialize the service.
      Parameters:
      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.
    • close

      void close()
      Called when service is no longer necessary. This method is called when TopiaApplicationContext.close() is called.