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.
See Also:
  • Constructor Details

    • MyFaces4Properties

      public MyFaces4Properties()
  • Method Details

    • getUseLambdaMetafactory

      public Boolean getUseLambdaMetafactory()
      Defines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection.
    • getResourceCacheLastModified

      public Boolean 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

      public Boolean getRenderClientbehaviorScriptsAsString()
      Defines if the clientbehavior scripts are passed as string or function to the jsf.
      See Also:
      • MyfacesConfig.RENDER_CLIENTBEHAVIOR_SCRIPTS_AS_STRING
    • getAlwaysForceSessionCreation

      public Boolean getAlwaysForceSessionCreation()
      Defines if a session should be created (if one does not exist) before response rendering.
      See Also:
      • MyfacesConfig.ALWAYS_FORCE_SESSION_CREATION
    • getResourceBundleControl

      public String getResourceBundleControl()
      See Also:
      • MyfacesConfig.RESOURCE_BUNDLE_CONTROL
    • getElResolverTracing

      public Boolean getElResolverTracing()
      Defines if ELResolvers should be traced on each request and logged. Only active on Development ProjectStage.
      See Also:
      • MyfacesConfig.EL_RESOLVER_TRACING
    • getViewidProtectedCacheEnabled

      public Boolean getViewidProtectedCacheEnabled()
      Enable or disable the cache used to 'remember' if a view is protected or not.
      See Also:
      • MyfacesConfig.VIEWID_PROTECTED_CACHE_ENABLED
    • getViewidDeriveCacheEnabled

      public Boolean getViewidDeriveCacheEnabled()
      Enable or disable the cache used to 'remember' the derived viewId from the rawViewId.
      See Also:
      • MyfacesConfig.VIEWID_DERIVE_CACHE_ENABLED
    • setUseLambdaMetafactory

      public void setUseLambdaMetafactory(Boolean useLambdaMetafactory)
      Defines if Lambda expressions (via LambdaMetafactory) are used for getter/setter instead of Reflection.
    • setResourceCacheLastModified

      public void setResourceCacheLastModified(Boolean resourceCacheLastModified)
      Defines if the last-modified should be cached of the resources when the ProjectStage is Production.
      See Also:
      • MyfacesConfig.RESOURCE_CACHE_LAST_MODIFIED
    • setRenderClientbehaviorScriptsAsString

      public void setRenderClientbehaviorScriptsAsString(Boolean renderClientbehaviorScriptsAsString)
      Defines if the clientbehavior scripts are passed as string or function to the jsf.
      See Also:
      • MyfacesConfig.RENDER_CLIENTBEHAVIOR_SCRIPTS_AS_STRING
    • setAlwaysForceSessionCreation

      public void setAlwaysForceSessionCreation(Boolean alwaysForceSessionCreation)
      Defines if a session should be created (if one does not exist) before response rendering.
      See Also:
      • MyfacesConfig.ALWAYS_FORCE_SESSION_CREATION
    • setResourceBundleControl

      public void setResourceBundleControl(String resourceBundleControl)
      See Also:
      • MyfacesConfig.RESOURCE_BUNDLE_CONTROL
    • setElResolverTracing

      public void setElResolverTracing(Boolean elResolverTracing)
      Defines if ELResolvers should be traced on each request and logged. Only active on Development ProjectStage.
      See Also:
      • MyfacesConfig.EL_RESOLVER_TRACING
    • setViewidProtectedCacheEnabled

      public void setViewidProtectedCacheEnabled(Boolean viewidProtectedCacheEnabled)
      Enable or disable the cache used to 'remember' if a view is protected or not.
      See Also:
      • MyfacesConfig.VIEWID_PROTECTED_CACHE_ENABLED
    • setViewidDeriveCacheEnabled

      public void setViewidDeriveCacheEnabled(Boolean viewidDeriveCacheEnabled)
      Enable or disable the cache used to 'remember' the derived viewId from the rawViewId.
      See Also:
      • MyfacesConfig.VIEWID_DERIVE_CACHE_ENABLED
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object