public class DefaultLifecycleProviderFactory extends LifecycleProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
LIFECYCLE_PROVIDER |
static String |
LIFECYCLE_PROVIDER_INSTANCE_KEY
Define 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, setLifecycleProviderFactory
public 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 LifecycleProviderFactory
public void release()
release
in class LifecycleProviderFactory
Copyright © 2020 The Apache Software Foundation. All rights reserved.