Entering content frame

Background documentation NAMING Locate the document in its SAP Library structure

This section contains the commands used for the SAP J2EE Engine JNDI Registry Service administration. They are added to the Shell environment by executing ADD NAMING on the command line.

ATTR

Syntax

ATTR [<attribute>|<-a|-r attibute [value]>|<-r>]

Arguments

 

-a

Sets attribute, or adds value to an attribute.

-r

Removes value/attribute/all attributes.

<attribute>

Attribute to modify or print.

<value>

Value to set/add/remove.

Description

Creates a combination of attributes that can be further used in bind, rebind, search, find, and mattr operations.

The attributes that are created can only be used together, that is, no matter if you have created 1 or 10 attributes, they will be used as one during the operations.

 

BIND

Syntax

BIND <location> <string>

Arguments

 

<location>

The whole path of contexts, starting from the root context of the naming system, plus the atomic name of the object.

<string>

The text to bind.

Description

Binds a string to the specified location.

If there are objects set with the ATTR command, they will be assigned as attributes to the bound object.

 

CD

Syntax

CD <location>

Arguments

 

<location>

The path to the location.

Description

Changes the current context.

 

DELTREE

Syntax

DELTREE <location>

Arguments

 

<location>

The path to the location.

Description

Deletes all entities under the specified context.

 

FIND

Syntax

FIND <location> <filter> [-s <scope>] [-c <count>]

Arguments

 

<location>

The path to the location.

<filter>

Filter to use.

The search filters and their syntax are described in RFC 2254. For more information, see the JNDI Tutorial on the SUN official Web site (http://java.sun.com).

-s <scope>

Scope to search with (OBJECT, ONELEVEL, SUBTREE).

-c <count>

Number of the returned items.

Description

Searches a location for matches with the attributes from ATTR.

 

LOOKUP

Syntax

LOOKUP <location>

Arguments

 

<location>

The whole path of contexts, starting from the root context of the naming system, plus the atomic name of the object.

Description

Looks up according to the specified parameter.

 

LS

Syntax

LS [-l [-a] [-f]] [location]

Arguments

 

[-l]

Lists details.

[-a]

Shows the attributes. Can be used only with -l parameter.

[-f]

Shows the full names. Can be used only with -l parameter.

[location]

The path to the location.

Description

Lists the contents of the current context. If no parameters are specified, the current context is listed.

 

LSEC

Syntax

LSEC

Description

Lists the security permissions for all contexts.

 

LSN

Syntax

LSN [location] [-c]

Arguments

 

[location]

The path to print.

[-c]

Output class names and object values.

Description

Displays the naming system as a tree. If location is not specified, prints the working context.

 

LSR

Syntax

LSR

Description

Displays the containers in the naming repository as a tree.

 

MATTR

Syntax

MATTR <-a|-rp|-rm> <location>

Arguments

 

<-a>

Adds the attributes. Default.

<-rp>

Replaces the attributes.

<-rm>

Removes the attributes.

<location>

The name of the item.

Description

Modifies attributes using the attributes from ATTR.

 

MENV

Syntax

MENV [<-a|-r> <entry> [text]]

Arguments

 

-a

Adds the entry.

-r

Removes the entry.

<entry>

The name of the item.

<text>

The value of the entry.

Description

Modifies or prints the JNDI environment properties.

 

MSUB

Syntax

MSUB <location>

Arguments

 

<location>

The name of the new subcontext.

Description

Creates a subcontext.

 

PWD

Syntax

PWD

Description

Displays the name of the current context.

 

REBIND

Syntax

REBIND <location> <string>

Arguments

 

<location>

The whole path of contexts, starting from the root context of the naming system, plus the atomic name of the object.

<string>

The text to rebind.

Description

Rebind the specified parameters to the specified location.

If there are objects set with the ATTR command, they will be assigned as attributes to the rebound object.

 

RSUB

Syntax

RSUB <location>

Arguments

 

<location>

The name of the subcontext.

Description

Removes a subcontext.

 

SEARCH

Syntax

SEARCH <location>

Arguments

 

<location>

The path to the location.

Description

Searches a location for matches with the attributes from ATTR.

 

UNBIND

Syntax

UNBIND <location>

Arguments

 

<location>

The path to the location.

Description

Unbinds the specified location.

Caution

Only objects can be unbound.

 

 

 

Leaving content frame