Sun Java System Web Server 6.1 SP9 Administrator's Configuration File Reference

CUSTOMRESOURCE

Defines a custom resource, which specifies a custom server-wide resource object factory. Such object factories implement the javax.naming.spi.ObjectFactory interface.

Subelements

The following table describes subelements for the CUSTOMRESOURCE element.

Table 2–38 CUSTOMRESOURCE 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 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.