Network Deployment (Distributed operating systems), v8.0 > Reference > Configuration file descriptions


Contexts and Dependency Injection custom properties

WAS Contexts and Dependency Injection (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:
Contexts and Dependency Injection (CDI)


org.apache.webbeans.conversation.Conversation.periodicDelay

Specifies a 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 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. The default value 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. The default value 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.


Example

Value Default
true false


org.apache.webbeans.application.supportsConversation

Specify true to support conversation scopes in the application.


Example

Value Default
true true

+

Search Tips   |   Advanced Search