Sometimes it is helpful to dump the java: namespace for a Java Platform, Enterprise Edition (Java EE) application. You cannot use the dumpNameSpace command line utility for this purpose because the application's java: namespace is accessible only by that Java EE application. From the product scripting tool, you can invoke a NameServer MBean to dump the java: namespace for any Java EE application running in that same server process.
There is another namespace local to server process which you cannot dump with the dumpNameSpace command line utility. This namespace has the URL scheme of local: and is used by the container to bind objects locally instead of through the name server. The local: namespace contains references to enterprise beans with local interfaces. There is only one local: namespace in a server process. You can dump the local: namespace by invoking the NameServer MBean associated with that server process.
Namespace dump options are specified in the MBean invocation as a parameter in character string format. The option descriptions follow.
Option | Description |
---|---|
short | The default. Dumps the binding name and bound object type. This output is also provided by Java Naming and Directory Interface (JNDI) Context.list(). |
long | Dumps the binding name, bound object type, local object type, and string representation of the local object (that is, the IORs, string values, and other values that are printed). |
Option | Description |
---|---|
tree | Dump the tree starting at the tree root context. |
host | Dump the tree starting at the server host root context (synonymous with "node"). |
legacy | Dump the tree starting at the legacy root context. |
cell | Dump the tree starting at the cell root context. This is the default option. |
node | Dump the tree starting at the node root context (synonymous with "host"). |
server | Dump the tree starting at the server root context. This is -root default. |
default | Dump the tree starting at the initial context which JNDI returns by default for that server type. |
Specify the format to display name component as atomic strings or parsed according to INS rules (id.kind). This option is only valid for server namespace dumps.
Option | Description |
---|---|
jndi | Display name components as atomic strings. This is -format default. |
ins | Display name components parsed according to INS rules (id.kind). |