This InjectionProvider will be used if the PostConstruct and PreDestroy
annotations are present, but no specific InjectionProvider has been configured.
It's important to note that this will not provide resource injection.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger | |
| private static Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static Method | |
| private static Method | |
| public void | inject(Object
the target managed bean managedBean)Implements com. The implementation of this method must perform the following steps:
|
| private static void | |
| public void | invokePostConstruct(Object
the target managed bean managedBean)Implements com. The implemenation of this method must invoke any
method marked with the |
| public void | invokePreDestroy(Object
the target managed bean managedBean)Implements com. The implemenation of this method must invoke any
method marked with the |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| methodsPerClazz | back to summary |
|---|---|
| private static Map<Class<?>, ConcurrentHashMap<Class<? extends Annotation>, WebContainerInjectionProvider. | |
| WebContainerInjectionProvider | back to summary |
|---|---|
| public WebContainerInjectionProvider() | |
| getAnnotatedMethod | back to summary |
|---|---|
| private static Method getAnnotatedMethod(Object managedBean, Class<? extends Annotation> annotation) | |
| getAnnotatedMethodForMethodArr | back to summary |
|---|---|
| private static Method getAnnotatedMethodForMethodArr(Method[] methods, Class<? extends Annotation> annotation) | |
| inject | back to summary |
|---|---|
| public void inject(Object managedBean) throws InjectionProviderException Implements com. Doc from com. The implementation of this method must perform the following steps:
This method must not invoke any methods
annotated with
| |
| invokeAnnotatedMethod | back to summary |
|---|---|
| private static void invokeAnnotatedMethod(Method method, Object managedBean) throws InjectionProviderException | |
| invokePostConstruct | back to summary |
|---|---|
| public void invokePostConstruct(Object managedBean) throws InjectionProviderException Implements com. Doc from com. The implemenation of this method must invoke any
method marked with the
| |
| invokePreDestroy | back to summary |
|---|---|
| public void invokePreDestroy(Object managedBean) throws InjectionProviderException Implements com. Doc from com. The implemenation of this method must invoke any
method marked with the
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Method |
| method | back to summary |
|---|---|
| private final Method method | |
| MethodHolder | back to summary |
|---|---|
| public MethodHolder(Method method) | |
| getMethod | back to summary |
|---|---|
| public Method getMethod() | |