en.help.task-jndiexternalresourceedit.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of console-common-full-plugin-help
Show all versions of console-common-full-plugin-help
Online help content for the console-jmail-plugin bundle.
The newest version!
To Edit an External JNDI Resource
- In the navigation tree, expand the Resources node .
- Under the Resources node, expand the JNDI node.
- Under the JNDI node, select External Resources.
The External Resources page opens.
- On the External Resources page, click the name of the resource that you
are editing.
The Edit External Resource page opens.
- To modify the Resource Type, do one of the following.
- From the drop-down list, select a type definition.
- Select the second radio button and type a fully qualified type definition that
follows the format xxx.xxx.
- In the Factory Class field, type a JNDI factory class external repository for
the external resource.
The Factory Class is the user-specified name for the factory class, such as
com.sun.jndi.ldap. This class implements the javax.naming.spi.InitialContextFactory interface.
- In the JNDI Lookup field, type the JNDI value to look up
in the external repository.
For example, when creating an external resource to connect to an external repository,
to test a bean class, the JNDI Lookup can look like this: cn=testmybean.
- 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.
- 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.
- (Optional) In the Additional Properties section, specify additional properties for the external resource.
The GlassFish Server does not define any additional properties for external resources.
- To add a property, click the Add Property button. In the blank row
that appears, type the property name in the Name field, and type
the property value in the Value field.
- To modify a property, edit that property's Value field.
- To delete a property, select the checkbox to the left of the
Name field of the property that you are deleting, then click the Delete
Properties button.
- Click Save.
See Also
-
-
-
-
-
Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices