3.11.2 /resources/custom-resource
/resources/custom-resource specifies a custom resource.
Description
/resources/custom-resource specifies a custom resource, which specifies a custom server-wide resource object factory. Such object factories implement the javax.naming.spi.ObjectFactory interface.
Repetition pattern
0 or more times
Specifiable attributes
Attribute name |
Description |
Specifiable values |
Default value# |
Dependencies |
Repetition pattern |
---|---|---|---|---|---|
jndi-name |
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. |
Type: String |
No default value |
N/A |
Only one time |
res-type |
Specifies the fully qualified type of the resource. |
Type: String |
No default value |
N/A |
Only one time |
factory-class |
Specifies the fully qualified name of the user-written factory class, which implements javax.naming.spi.ObjectFactory. |
Type: String Any factory class which implements interface javax.naming.spi.ObjectFactory |
No default value |
N/A |
Only one time |
- Legend:
-
N/A: Not applicable
#: This is the default value that is set when a definition item is excluded.