public class DefaultLifecycleProviderFactory extends LifecycleProviderFactory
| Modifier and Type | Field and Description | 
|---|---|
| static String | LIFECYCLE_PROVIDER | 
| static String | LIFECYCLE_PROVIDER_INSTANCE_KEYDefine the class implementing LifecycleProvider2 interface to handle PostConstruct and PreDestroy annotations. | 
FACTORY_DEFAULT| Constructor and Description | 
|---|
| DefaultLifecycleProviderFactory() | 
| Modifier and Type | Method and Description | 
|---|---|
| LifecycleProvider | getLifecycleProvider(ExternalContext externalContext) | 
| void | release() | 
getLifecycleProviderFactory, getLifecycleProviderFactory, setLifecycleProviderFactorypublic static final String LIFECYCLE_PROVIDER_INSTANCE_KEY
This also can be configured using a SPI entry (/META-INF/services/...).
@JSFWebConfigParam(name="org.apache.myfaces.config.annotation.LifecycleProvider",
                   since="1.1")
public static final String LIFECYCLE_PROVIDER
public LifecycleProvider getLifecycleProvider(ExternalContext externalContext)
getLifecycleProvider in class LifecycleProviderFactorypublic void release()
release in class LifecycleProviderFactoryCopyright © 2022 The Apache Software Foundation. All rights reserved.