Internal annotations to control the lifecycle of cache components.
Annotation Types Summary Annotation Type Description ComponentNameMechanism for specifying the name of components to retrieve DefaultFactoryForAn annotation that is used internally, for defining a DEFAULT factory to be used when constructing components. InjectUsed to annotate a method as one that is used to inject a registered component into another component. PostStart Deprecated.Since 9.4, please use
StartMethod level annotation that indicates a (no-param) method to be called on a component registered in the component registry when the registry starts. StopMethod level annotation that indicates a (no-param) method to be called on a component registered in the component registry when the registry stops. SurvivesRestartsThis annotation is used for components that will be registered in the
ComponentRegistry, that are meant to be retained in the component registry even after the component registry is stopped.