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 Deprecated. Since 9.4, please useStartinstead.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.