You use the JNDI Browser by right-clicking the JNDI node or one of its subnodes. The contextual menus for each type of node are described below.
New Provider | Add a JNDI service provider to those supplied by the IDE. |
Refresh | Refresh the displayed list of JNDI service providers. |
Test Provider | Test the selected JNDI service provider to see that it is installed and accessible. |
Connect Using | Connect to a naming or directory service using the selected JNDI service provider. |
Delete | Delete the selected JNDI service provider from the JNDI Browser. |
Customize | Modify the customizable properties (if any) of the selected JNDI service provider. |
Properties | Display the properties of the selected JNDI service provider. |
These nodes represent naming and directory services and their hierarchies of naming contexts. They can contain lower-level contexts or individual naming entries.
Copy Lookup Code | Copy, to the system clipboard, code that looks up the selected context and return a reference to it. When this code is pasted into a Java class, the class can use the reference to manipulate the context. |
Copy Binding Code | Copy, to the system clipboard, code that binds an object into the selected context. When this code is pasted into a Java class, the class can use the reference to bind a new object in the context. |
These nodes represent objects, or individual entries in the naming/directory service.
Copy Lookup Code | Copy, to the system clipboard, code that looks up the selected object and return a reference to it. When this code is pasted into a Java class, the class can use the reference to manipulate the object. |
See also | |
---|---|
Connecting to a Naming or Directory Service
Generating Code With the JNDI Browser Adding a Service Provider |