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.InfinispanModule Mechanism for specifying the name and dependencies of Infinispan modules.Inject Used to annotate a method or field as an injection point.PostStart Deprecated. Since 9.4, please useStart
instead.Start Method level annotation that indicates a (no-param) method to be called on a component registered in the component registry when the registry starts.Stop Method level annotation that indicates a (no-param) method to be called on a component registered in the component registry when the registry 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.