@Retention(value=RUNTIME) @Target(value=ANNOTATION_TYPE) @Documented public @interface PostConstructProcess
When a field or parameter is annotated with a PostConstructProcess
tagged annotation, it tells Genie to load specified PostConstructProcessor
to apply on the bean after bean is constructed and, if the bean has PostConstruct
method, after that method is called.
Modifier and Type | Required Element and Description |
---|---|
Class<? extends PostConstructProcessor> |
value
Specify the
PostConstructProcessor implementation to be called after bean has been constructed |
public abstract Class<? extends PostConstructProcessor> value
Specify the PostConstructProcessor
implementation to be called after bean has been constructed
PostConstructProcessor
typeCopyright © 2016–2018 OSGL (Open Source General Library). All rights reserved.