Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Reference
custom-resource
Defines a custom resource, which specifies a custom server-wide resource
object factory. Such object factories implement the javax.naming.spi.ObjectFactory interface.
Superelements
resources
Subelements
The following table describes subelements for the custom-resource element.
Table 1–29
custom-resource
Subelements
Element
|
Required
|
Description
|
description
|
zero or one
|
Contains a text description of this element.
|
property
|
zero or more
|
Specifies a property or a variable.
|
Attributes
The following table describes attributes for the custom-resource element.
Table 1–30
custom-resource
Attributes
Attribute
|
Default
|
Description
|
jndi-name
|
none
|
Specifies the JNDI name for the resource.
|
res-type
|
none
|
Specifies the fully qualified type of the resource.
|
factory-class
|
none
|
Specifies the fully qualified name of the user-written factory class,
which implements javax.naming.spi.ObjectFactory.
|
object-type
|
user
|
(optional) Defines the type of the resource. Allowed values are:
-
system-all - A system resource for all
server instances and the domain application server.
-
system-admin - A system resource only for
the domain application server.
-
system-instance - A system resource for
all server instances only.
-
user - A user resource.
|
enabled
|
true
|
(optional) Determines whether this resource is enabled at runtime.
|