Package org.infinispan.factories.annotations
Internal annotations to control the lifecycle of cache components.
-
Annotation Types Summary Annotation Type Description ComponentName Mechanism for specifying the name of components to retrieveDefaultFactoryFor An annotation that is used internally, for defining a DEFAULT factory to be used when constructing components.Inject Used to annotate a method as one that is used to inject a registered component into another component.PostStart Method level annotation that indicates a (no-param) method to be called on a component after theComponentRegistry
has been fully initializedStart Method level annotation that indicates a (no-param) method to be called on a component registered in the ComponentRegistry when the cache starts.Stop Method level annotation that indicates a (no-param) method to be called on a component registered in the ComponentRegistry when the cache stops.SurvivesRestarts This annotation is used for components that will be registered in theComponentRegistry
, that are meant to be retained in the component registry even after the component registry is stopped.