Class MyFaces4Properties
java.lang.Object
org.joinfaces.autoconfigure.myfaces.MyFaces4Properties
- All Implemented Interfaces:
ServletContextInitParameterProperties
@ConfigurationProperties("joinfaces.myfaces")
public class MyFaces4Properties
extends Object
implements ServletContextInitParameterProperties
MyFaces Configuration Properites added in MyFaces 2.3-next and 4.0.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Defines if a session should be created (if one does not exist) before response rendering.Defines if ELResolvers should be traced on each request and logged.Defines if the clientbehavior scripts are passed as string or function to the jsf.Defines theResourceBundle.Control
to use for allResourceBundle.getBundle(java.lang.String)
calls.Defines if the last-modified should be cached of the resources when the ProjectStage is Production.Defines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection.Enable or disable the cache used to 'remember' the derived viewId from the rawViewId.Enable or disable the cache used to 'remember' if a view is protected or not.int
hashCode()
void
setAlwaysForceSessionCreation
(Boolean alwaysForceSessionCreation) Defines if a session should be created (if one does not exist) before response rendering.void
setElResolverTracing
(Boolean elResolverTracing) Defines if ELResolvers should be traced on each request and logged.void
setRenderClientbehaviorScriptsAsString
(Boolean renderClientbehaviorScriptsAsString) Defines if the clientbehavior scripts are passed as string or function to the jsf.void
setResourceBundleControl
(String resourceBundleControl) Defines theResourceBundle.Control
to use for allResourceBundle.getBundle(java.lang.String)
calls.void
setResourceCacheLastModified
(Boolean resourceCacheLastModified) Defines if the last-modified should be cached of the resources when the ProjectStage is Production.void
setUseLambdaMetafactory
(Boolean useLambdaMetafactory) Defines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection.void
setViewidDeriveCacheEnabled
(Boolean viewidDeriveCacheEnabled) Enable or disable the cache used to 'remember' the derived viewId from the rawViewId.void
setViewidProtectedCacheEnabled
(Boolean viewidProtectedCacheEnabled) Enable or disable the cache used to 'remember' if a view is protected or not.toString()
-
Constructor Details
-
MyFaces4Properties
public MyFaces4Properties()
-
-
Method Details
-
getUseLambdaMetafactory
Defines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection. -
getResourceCacheLastModified
Defines if the last-modified should be cached of the resources when the ProjectStage is Production.- See Also:
-
MyfacesConfig.RESOURCE_CACHE_LAST_MODIFIED
-
getRenderClientbehaviorScriptsAsString
Defines if the clientbehavior scripts are passed as string or function to the jsf.- See Also:
-
MyfacesConfig.RENDER_CLIENTBEHAVIOR_SCRIPTS_AS_STRING
-
getAlwaysForceSessionCreation
Defines if a session should be created (if one does not exist) before response rendering.- See Also:
-
MyfacesConfig.ALWAYS_FORCE_SESSION_CREATION
-
getResourceBundleControl
Defines theResourceBundle.Control
to use for allResourceBundle.getBundle(java.lang.String)
calls.- See Also:
-
MyfacesConfig.RESOURCE_BUNDLE_CONTROL
-
getElResolverTracing
Defines if ELResolvers should be traced on each request and logged. Only active on Development ProjectStage.- See Also:
-
MyfacesConfig.EL_RESOLVER_TRACING
-
getViewidProtectedCacheEnabled
Enable or disable the cache used to 'remember' if a view is protected or not.- See Also:
-
MyfacesConfig.VIEWID_PROTECTED_CACHE_ENABLED
-
getViewidDeriveCacheEnabled
Enable or disable the cache used to 'remember' the derived viewId from the rawViewId.- See Also:
-
MyfacesConfig.VIEWID_DERIVE_CACHE_ENABLED
-
setUseLambdaMetafactory
Defines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection. -
setResourceCacheLastModified
Defines if the last-modified should be cached of the resources when the ProjectStage is Production.- See Also:
-
MyfacesConfig.RESOURCE_CACHE_LAST_MODIFIED
-
setRenderClientbehaviorScriptsAsString
Defines if the clientbehavior scripts are passed as string or function to the jsf.- See Also:
-
MyfacesConfig.RENDER_CLIENTBEHAVIOR_SCRIPTS_AS_STRING
-
setAlwaysForceSessionCreation
Defines if a session should be created (if one does not exist) before response rendering.- See Also:
-
MyfacesConfig.ALWAYS_FORCE_SESSION_CREATION
-
setResourceBundleControl
Defines theResourceBundle.Control
to use for allResourceBundle.getBundle(java.lang.String)
calls.- See Also:
-
MyfacesConfig.RESOURCE_BUNDLE_CONTROL
-
setElResolverTracing
Defines if ELResolvers should be traced on each request and logged. Only active on Development ProjectStage.- See Also:
-
MyfacesConfig.EL_RESOLVER_TRACING
-
setViewidProtectedCacheEnabled
Enable or disable the cache used to 'remember' if a view is protected or not.- See Also:
-
MyfacesConfig.VIEWID_PROTECTED_CACHE_ENABLED
-
setViewidDeriveCacheEnabled
Enable or disable the cache used to 'remember' the derived viewId from the rawViewId.- See Also:
-
MyfacesConfig.VIEWID_DERIVE_CACHE_ENABLED
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-