Property | Description |
context | Optional. Name of the web context of the application into which to inject the resource configuration (for example, petstore). If the property is missing, the resource configuration will be injected into all web applications. |
enabled | Optional. Indicates whether to have the JNDI injector process the resource configuration. Valid values are true (default) and false. |
(1-9).name | Required. Name under which to bind the resource in the java:/comp/env namespace of the web application. The value is relative. For example, jdbc/JPetStoreDB means the absolute name of the resource will be java:/comp/env/jdbc/JPetStoreDB. |
(1-9).type | Required. Fully qualified name of the environment entry class (for example, javax.lang.String). |
(1-9).value | Required. Value to return when this environment entry is looked up through JNDI by its name or injected as a @Resource. |
(1-9).override | Optional. Indicates whether an environment entry in the web.xml can override the same environment entry defined in a more global configuration (for example, the context.xml or server.xml file). Valid values are true (default) and false. |