Sun Java System Web Server 7.0 Update 5 Administrator's Guide

Properties for Custom Resources

The following table describes the properties available for creating a custom resource.

Table 11–3 Custom Resources Properties

Property

Description

JNDI Name

Provides a unique JNDI name for the custom resource. 

Enabled

Determines if this custom resource is enabled at runtime. 

Resource Type

Fully qualified type of resource. 

Factory Class

Class that instantiates resources of this type. The fully qualified name of the user-written factory class that implements the javax.naming.spi.ObjectFactory.

Description

Provide a short description for the custom resource. 

Properties

Provides CLI properties. Click Add Property to use. 


Note –

Using CLI

To create a custom resource through CLI, execute the following command:


wadm> create-custom-resource --user=admin --password-file=admin.pwd --host=serverhost 
--port=8989 --config=config1 --res-type=samples.jndi.customResource.MyBean 
--factory-class=samples.jndi.customResource.MyCustomConnectionFactory custom

See CLI Reference, create-custom-resource(1).