/** * Per default all faces-messages are preserved for the next rendering process * @return true if the messages should be preserved automatically, false otherwise */ @ConfigEntry public boolean isAlwaysKeepMessages() { return true; }
/** * Per default several artifacts which aren't managed by CDI have to be annotated * with {@link org.apache.myfaces.extensions.cdi.core.api.Advanced} as marker for * performing manual dependency injection. It isn't performed per default because the * majority of those artifacts don't require dependency injection. * @return true if the usage of {@link org.apache.myfaces.extensions.cdi.core.api.Advanced}, false otherwise */ @ConfigEntry public boolean isAdvancedQualifierRequiredForDependencyInjection() { return true; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.ScopeBeanEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isScopeBeanEventEnabled() { return false; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.UnscopeBeanEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isUnscopeBeanEventEnabled() { return false; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.StartConversationEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isStartConversationEventEnabled() { return false; }
/** * Specifies if it is allowed to use URL params for forwarding the current window-id. * (deactivate it e.g. for higher security - in this case it's required to use a window id provided by a * component lib or a server-side window-handler) * * @return true if it is allowed to add the window-id as URL parameter */ @ConfigEntry public boolean isUrlParameterSupported() { return true; }
/** * Restricts the number of active windows. * * @return limit for active windows */ @ConfigEntry public int getMaxWindowContextCount() { return 64; }
/** * Timeout for {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.ConversationScoped} beans, * which will be used if the conversation doesn't get closed manually. * * @return timeout in minutes */ @ConfigEntry public int getConversationTimeoutInMinutes() { return 30; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.ScopeBeanEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isScopeBeanEventEnabled() { return false; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.RestartConversationEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isRestartConversationEventEnabled() { return false; }
/** * If the initial redirect is enabled, a redirect will be performed for adding the current window-id to the url. * * @return true for activating it, false otherwise */ @ConfigEntry public boolean isInitialRedirectEnabled() { return true; }
/** * if set to <code>true</code> CODI will add a windowId=xxx parameter * while encoding each action URL. * @return true if the window-id should be added, false otherwise */ @ConfigEntry public boolean isAddWindowIdToActionUrlsEnabled() { return false; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.CreateWindowContextEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isCreateWindowContextEventEnabled() { return false; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.CloseWindowContextEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isCloseWindowContextEventEnabled() { return false; }
/** * Allows to disable the logging of the current configuration during the bootstrapping process. * @return true if the configuration should be logged, false otherwise */ @ConfigEntry public boolean isConfigurationLoggingEnabled() { return true; }
/** * Specifies the time for the timeout for a window. After a timeout is detected all beans which are only linked * to the window will be destroyed. * * @return the time for the timeout for a window */ @ConfigEntry public int getWindowContextTimeoutInMinutes() { return 60; }
/** * Allows to use e.g.: * "Validation error: {invalidValue} isn't a valid value." * @return true if the InvalidValueAwareMessageInterpolator should be used, false otherwise */ @ConfigEntry public boolean isInvalidValueAwareMessageInterpolatorEnabled() { return true; }
/** * Per default several artifacts which aren't managed by CDI have to be annotated * with {@link org.apache.myfaces.extensions.cdi.core.api.Advanced} as marker for * performing manual dependency injection. It isn't performed per default because the * majority of those artifacts don't require dependency injection. * @return true if the usage of {@link org.apache.myfaces.extensions.cdi.core.api.Advanced}, false otherwise */ @ConfigEntry public boolean isAdvancedQualifierRequiredForDependencyInjection() { return true; }
/** * Allows to activate the cleanup of empty window contexts to avoid cleanup e.g. * of the eldest window context instances if the max. count is reached. * * @return true for activating it, false otherwise */ @ConfigEntry public boolean isCloseEmptyWindowContextsEnabled() { return false; }
/** * Specifies if the * {@link org.apache.myfaces.extensions.cdi.core.api.scope.conversation.event.RestartConversationEvent} * will be fired. * * @return true if the event should be fired, false otherwise */ @ConfigEntry public boolean isRestartConversationEventEnabled() { return false; }