org.infinispan.factories
Interface ModuleLifecycle

All Known Implementing Classes:
LifecycleManager

public interface ModuleLifecycle

ModuleLifecycle is an internal API hook for delegating lifecycle events to modules.

For example, the 'tree' module needs to register specific types with the Marshaller. The 'query' module needs to register an interceptor with the Cache if the Cache has enabled querying etc etc.

Since:
4.0
Author:
Manik Surtani

Method Summary
 void cacheManagerStarted(GlobalComponentRegistry gcr)
           
 void cacheManagerStarting(GlobalComponentRegistry gcr)
           
 void cacheManagerStopped(GlobalComponentRegistry gcr)
           
 void cacheManagerStopping(GlobalComponentRegistry gcr)
           
 void cacheStarted(ComponentRegistry cr, String cacheName)
           
 void cacheStarting(ComponentRegistry cr, String cacheName)
           
 void cacheStopped(ComponentRegistry cr, String cacheName)
           
 void cacheStopping(ComponentRegistry cr, String cacheName)
           
 

Method Detail

cacheManagerStarting

void cacheManagerStarting(GlobalComponentRegistry gcr)

cacheManagerStarted

void cacheManagerStarted(GlobalComponentRegistry gcr)

cacheManagerStopping

void cacheManagerStopping(GlobalComponentRegistry gcr)

cacheManagerStopped

void cacheManagerStopped(GlobalComponentRegistry gcr)

cacheStarting

void cacheStarting(ComponentRegistry cr,
                   String cacheName)

cacheStarted

void cacheStarted(ComponentRegistry cr,
                  String cacheName)

cacheStopping

void cacheStopping(ComponentRegistry cr,
                   String cacheName)

cacheStopped

void cacheStopped(ComponentRegistry cr,
                  String cacheName)

Google Analytics

Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.