The external-jndi-resource element configures a resource provided by an external JNDI repository. This element may appear zero or more times within the server element. For more information, see server.
The external-jndi-resource element can contain the following subelements:
Table 3–20 List of external-jndi-resource Subelements
Element |
Occurrences |
Description |
---|---|---|
enabled |
0 or 1 |
Determines whether the event is enabled at runtime. The default value is true. |
jndi-name |
1 |
The JNDI name of the resource. |
jndi-lookup-name |
1 |
The JNDI lookup name of the resource. |
res-type |
1 |
The type of the external JNDI resource. The default value is a class name. |
factory-class |
1 |
The class that instantiates resources of this type. The default value is a class name that implements javax.naming.spi.InitialContextFactory. |
property |
0 or more |
Configures the optional resource-specific properties. For more details, see property. |
description |
0 or 1 |
The description of the resource. The value of this element should be in text format. |