To Edit a Custom JNDI Resource

  1. In the navigation tree, expand the Resources node.

  2. Under the Resources node, expand the JNDI node.

  3. Under the JNDI node, select Custom Resources.

    The Custom Resources page opens.

  4. On the Custom Resources page, click the name of the resource that you are editing.

    The Edit Custom Resource page opens.


    Note:

    The JNDI name is a read-only field. You can only specify the JNDI name when you create a new custom resource.


  5. To modify the Resource Type, do one of the following.

  6. In the Factory Class field, type a factory class name for the custom resource.

    The Factory Class is the user-specified name for the factory class. This class implements the javax.naming.spi.ObjectFactory interface.

  7. In the Deployment Order field, type a number to specify the deployment order of the custom resource.

    Resources with a lower number are loaded first at server startup. The default value is 100.

  8. In the Description field, Type a short description of the resource.

    This description is a string value and can include a maximum of 250 characters.

  9. Select the Status Enabled checkbox to enable the resource.

    By default, the resource is enabled, meaning that it is available as soon as it is created.

  10. In the Additional Properties section, specify additional properties for the custom resource.

    GlassFish Server does not define any additional properties for custom resources.

  11. Click Save.

See Also
Copyright © 2005, 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices