Defines a custom resource, which specifies a custom server-wide resource object factory. Such object factories implement the javax.naming.spi.ObjectFactory interface.
The following table describes subelements for the CUSTOMRESOURCE element.
Table 2–38 CUSTOMRESOURCE 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 CUSTOMRESOURCE element.
Table 2–39 CUSTOMRESOURCE Attributes
Attribute |
Default |
Description |
---|---|---|
jndiname |
none |
Specifies the JNDI name for the resource. |
restype |
none |
Specifies the fully qualified type of the resource. |
factoryclass |
none |
Specifies the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory. |
enabled |
true |
(optional) Determines whether this resource is enabled at runtime. Legal values are on, off, yes, no, 1, 0, true, false. |