A factory for creating InjectionProvider instances.
| Modifier and Type | Class and Description |
|---|---|
| private static class | InjectionProviderFactory.
A no-op implementation of |
| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private static final InjectionProvider | |
| private static final String | INJECTION_PROVIDER_PROPERTY
The system property that will be checked for alternate |
| private static final String | |
| private static final Logger | |
| private static final InjectionProvider | NOOP_PROVIDER
Our no-op |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static InjectionProvider | Returns: an implementation of theInjectionProvider interfacesExteranlContext for the current request extContext)
Creates a new instance of the class specified by the |
| private static boolean | Returns: true if clazz implements the InjectionProvider interfacethe class in question clazz)
Determine if the specified class extends the |
| private static String | Returns: The provider class name specified in the container configuration, ornull if not found.The ExternalContext for this request extContext)
Attempt to find an
|
| private static String | |
| private static InjectionProvider | |
| private static String[] | |
| private static boolean | Returns: true if clazz implements the InjectionProvider interfacethe class in question clazz)
Determine if the specified class implements the |
| EMPTY_ARRAY | back to summary |
|---|---|
| private static final String[] EMPTY_ARRAY | |
| GENERIC_WEB_PROVIDER | back to summary |
|---|---|
| private static final InjectionProvider GENERIC_WEB_PROVIDER | |
| INJECTION_PROVIDER_PROPERTY | back to summary |
|---|---|
| private static final String INJECTION_PROVIDER_PROPERTY
The system property that will be checked for alternate | |
| INJECTION_SERVICE | back to summary |
|---|---|
| private static final String INJECTION_SERVICE | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| NOOP_PROVIDER | back to summary |
|---|---|
| private static final InjectionProvider NOOP_PROVIDER
Our no-op | |
| InjectionProviderFactory | back to summary |
|---|---|
| public InjectionProviderFactory() | |
| createInstance | back to summary |
|---|---|
| public static InjectionProvider createInstance(ExternalContext extContext)
Creates a new instance of the class specified by the
| |
| extendsDiscoverableInjectionProvider | back to summary |
|---|---|
| private static boolean extendsDiscoverableInjectionProvider(Class<?> clazz)
Determine if the specified class extends the
| |
| findProviderClass | back to summary |
|---|---|
| private static String findProviderClass(ExternalContext extContext)
Attempt to find an
| |
| getProviderFromEntry | back to summary |
|---|---|
| private static String getProviderFromEntry(Map<String, Object> appMap, String entry) | |
| getProviderInstance | back to summary |
|---|---|
| private static InjectionProvider getProviderInstance(String className, ExternalContext extContext) | |
| getServiceEntries | back to summary |
|---|---|
| private static String[] getServiceEntries() | |
| implementsInjectionProvider | back to summary |
|---|---|
| private static boolean implementsInjectionProvider(Class<?> clazz)
Determine if the specified class implements the
| |
A no-op implementation of InjectionProvider which will be used when the #INJECTION_PROVIDER_PROPERTY is
not specified or is invalid.
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public Map | |
| public void | inject(Object
target ManagedBean managedBean)Implements com. This is a no-op. |
| public void | invokePostConstruct(Object
target ManagedBean managedBean)Implements com. This is a no-op. |
| public void | invokePreDestroy(Object
target ManagedBean managedBean)Implements com. This is a no-op. |
| NoopInjectionProvider | back to summary |
|---|---|
| private NoopInjectionProvider() | |
| getAnnotatedClassesInCurrentModule | back to summary |
|---|---|
| public Map Implements com.
| |
| inject | back to summary |
|---|---|
| public void inject(Object managedBean) Implements com. This is a no-op. | |
| invokePostConstruct | back to summary |
|---|---|
| public void invokePostConstruct(Object managedBean) throws InjectionProviderException Implements com. This is a no-op.
| |
| invokePreDestroy | back to summary |
|---|---|
| public void invokePreDestroy(Object managedBean) Implements com. This is a no-op. | |