private static final class InjectionProviderFactory.NoopInjectionProvider extends Object implements InjectionProvider, AnnotationScanner
A no-op implementation of InjectionProvider
which will
be used when the #INJECTION_PROVIDER_PROPERTY is not specified or
is invalid.
AnnotationScanner.ScannedAnnotation
Modifier | Constructor and Description |
---|---|
private |
NoopInjectionProvider() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<AnnotationScanner.ScannedAnnotation>> |
getAnnotatedClassesInCurrentModule(javax.servlet.ServletContext extContext) |
void |
inject(Object managedBean)
This is a no-op.
|
void |
invokePostConstruct(Object managedBean)
This is a no-op.
|
void |
invokePreDestroy(Object managedBean)
This is a no-op.
|
public void inject(Object managedBean)
This is a no-op.
inject
in interface InjectionProvider
managedBean
- target ManagedBeanpublic Map<String,List<AnnotationScanner.ScannedAnnotation>> getAnnotatedClassesInCurrentModule(javax.servlet.ServletContext extContext) throws InjectionProviderException
getAnnotatedClassesInCurrentModule
in interface AnnotationScanner
InjectionProviderException
public void invokePreDestroy(Object managedBean)
This is a no-op.
invokePreDestroy
in interface InjectionProvider
managedBean
- target ManagedBeanpublic void invokePostConstruct(Object managedBean) throws InjectionProviderException
This is a no-op.
invokePostConstruct
in interface InjectionProvider
managedBean
- target ManagedBeanInjectionProviderException
- if an error occurs when invoking
the method annotated by the @PostConstruct
annotationCopyright ? 2002-2010 Oracle America, Inc. All Rights Reserved.