public class DefaultInjectionProviderFactory extends InjectionProviderFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
INJECTION_PROVIDER |
static String |
INJECTION_PROVIDER_INSTANCE_KEY
Define the class implementing InjectionProvider interface to handle PostConstruct
and PreDestroy annotations.
|
FACTORY_DEFAULT| Constructor and Description |
|---|
DefaultInjectionProviderFactory() |
| Modifier and Type | Method and Description |
|---|---|
InjectionProvider |
getInjectionProvider(ExternalContext externalContext) |
void |
release() |
getInjectionProviderFactory, getInjectionProviderFactory, setInjectionProviderFactorypublic static final String INJECTION_PROVIDER_INSTANCE_KEY
This also can be configured using a SPI entry (/META-INF/services/...).
@JSFWebConfigParam(name="org.apache.myfaces.spi.InjectionProvider",
since="2.2")
public static final String INJECTION_PROVIDER
public InjectionProvider getInjectionProvider(ExternalContext externalContext)
getInjectionProvider in class InjectionProviderFactorypublic void release()
release in class InjectionProviderFactoryCopyright © 2021 The Apache Software Foundation. All rights reserved.