Package org.primefaces.context
Class PrimeApplicationContext
java.lang.Object
org.primefaces.context.PrimeApplicationContext
A
PrimeApplicationContext is a contextual store for the current application.
It can be accessed via:
PrimeApplicationContext.getCurrentInstance(context)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrimeApplicationContextgetCurrentInstance(javax.faces.context.FacesContext facesContext) static PrimeApplicationContextgetCurrentInstance(javax.faces.context.FacesContext facesContext, boolean create) static PrimeApplicationContextgetCurrentInstance(javax.servlet.ServletContext context) javax.validation.Validatorjavax.validation.ValidatorFactoryvoidrelease()static voidsetCurrentInstance(PrimeApplicationContext context, javax.faces.context.FacesContext facesContext)
-
Field Details
-
INSTANCE_KEY
-
-
Constructor Details
-
PrimeApplicationContext
public PrimeApplicationContext(javax.faces.context.FacesContext facesContext)
-
-
Method Details
-
getCurrentInstance
public static PrimeApplicationContext getCurrentInstance(javax.faces.context.FacesContext facesContext) -
getCurrentInstance
public static PrimeApplicationContext getCurrentInstance(javax.faces.context.FacesContext facesContext, boolean create) -
getCurrentInstance
-
setCurrentInstance
public static void setCurrentInstance(PrimeApplicationContext context, javax.faces.context.FacesContext facesContext) -
getEnvironment
-
getConfig
-
getValidatorFactory
public javax.validation.ValidatorFactory getValidatorFactory() -
getCacheProvider
-
getEnumCacheMap
-
getConstantsCacheMap
-
getValidator
public javax.validation.Validator getValidator() -
getVirusScannerService
-
getFileTypeDetector
-
release
public void release() -
getFileUploadDecoder
-
getFileUploadResumeUrl
-
getExporters
-
getBeanValidationClientConstraintMapping
-
getMetadataTransformers
-
getPropertyDescriptorResolver
-