WAS v8.5 > Reference > Configuration file descriptions

Contexts and Dependency Injection custom properties

WebSphere Application Server CDI implementation is based on OpenWebBeans, which is configurable through the openwebbeans.properties file.

To specify CDI custom properties, place the openwebbeans.properties file inside the META-INF/openwebbeans directory of the application. Properties that are not listed below, such as those that control the lifecycle and services, should remain at the default value for the application server. See the following list of some of the available CDI custom properties:


org.apache.webbeans.conversation.Conversation.periodicDelay

Delay in milliseconds. Use the conversation periodic delay custom property to search for and delete unused conversations.
Value Default
integer 15000


org.apache.webbeans.application.jsp

Specifies that an application is a full JSP (JSP) application. Specify true to add the JSP ELResolver class to the application.
Value Default
true true


org.apache.webbeans.useOwbSpecificXmlConfig

Specify true to use OpenWebBeans-specific beans.xml files for the application. Default is false, which is the portable specification beans.xml format.
Value Default
true false


org.apache.webbeans.fieldInjection.useOwbSpecificInjection

Specify true to use OpenWebBeans-specific injection for the application. Default is false, which is the portable specification behavior.
Value Default
true false


org.apache.webbeans.application.useJSF2Extensions

Specify true to enable JavaServerFaces (JSF) 2.0-based CDI extensions.

Value Default
true false


org.apache.webbeans.application.supportsConversation

Specify true to support conversation scopes in the application.

Value Default
true true


Related


CDI


+

Search Tips   |   Advanced Search