Defines a resource that resides in an external JNDI repository. For example, a generic Java object could be stored in an LDAP server. An external JNDI factory must implement the javax.naming.spi.InitialContextFactory interface.
The following table describes subelements for the EXTERNALJNDIRESOURCE element.
Table 2–40 EXTERNALJNDIRESOURCE Subelements
Element |
Required |
Description |
---|---|---|
zero or one |
Contains a text description of this element. |
|
zero or more |
Specifies a property or a variable. |
The following table describes attributes for the EXTERNALJNDIRESOURCE element.
Table 2–41 EXTERNALJNDIRESOURCE Attributes
Attribute |
Default |
Description |
---|---|---|
jndiname |
none |
Specifies the JNDI name for the resource. |
jndilookupname |
none |
Specifies the JNDI lookup name for the resource. |
restype |
none |
Specifies the fully qualified type of the resource. |
factoryclass |
none |
Specifies the fully qualified name of the factory class, which implements javax.naming.spi.InitialContextFactory. |
enabled |
true |
(optional) Determines whether this resource is enabled at runtime. Legal values are on, off, yes, no, 1, 0, true, false. |