String binding settings

Use this page to view or configure a string binding.

To view this console page, click Environment > Naming > Name Space Bindings > string_namespace_binding. The settings on this page are similar to those on the Specify basic properties panel of the New Name Space Binding wizard.

Configuration tab

Scope

Shows the scope of the configured binding. This value indicates the configuration location for the namebindings.xml file.

The Scope setting is shown only when you edit an existing binding on the console page, and is not shown when you create a new binding on the wizard panel. This setting is for information purposes and cannot be updated.

If the configured binding is cell-scoped, the starting context is the cell persistent root context. If the configured binding is node-scoped, the starting context is the node persistent root context. If the configured binding is server-scoped, the starting context is the server's server root context.

Binding type

Shows the type of binding configured. Possible choices are String, EJB, CORBA, and Indirect. This setting is for information purposes only and cannot be updated.

Binding identifier

Specifies the name that uniquely identifies this configured binding.

Name in name space

Specifies the name used for this binding in the name space. This name can be a simple or compound name depending on the portion of the name space where this binding is configured.

String value

Specifies the string to be bound into the name space.

If variable substitution is enabled, you can create a file that maps multiple variable names to values and specify the file name for the String value. By default, a name server does not perform variable substitution on the string value of a String name space binding. Thus, by default, the com.ibm.websphere.naming.expandStringBindings property is set to false and a name server does not expand the value of String bindings.

Tip: To enable variable substitution on the String value, create a custom property with Name set to com.ibm.websphere.naming.expandStringBindings and Value set to true. You can define a custom property at the cell, node, server, or name server scope. Create the custom property on a console page for the appropriate scope:
Cell scope
Click System administration > Cell > Custom Properties > New.
Node scope
Click System administration > Nodes > node_name > Custom Properties > New.
Server scope
Click Application servers > server_name > Administration > Custom Properties > New.
Name server scope
Click Application servers > server_name > Administration > Server Components > Name Server > Custom Properties > New.
All name servers within the specified custom property scope apply the setting. Settings at a narrower scope override settings at a wider scope. For example, on multiple-server products, settings at the node scope override settings at the cell scope. Select a custom property scope that is at least as wide as the name space binding scope. Thus, to expand a variable reference in a cell-scoped String name space binding, define the custom property at the cell scope. If the custom property has a scope narrower than the name space binding, only name servers within the scope expand the variable reference in the String name space binding. Name servers outside of the scope do not expand the variable reference and handle the reference differently.



Related tasks
Configuring name space bindings
Related reference
Name space binding collection
Specify binding type settings
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 30, 2013 4:53:43 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-base-dist&topic=unam_rstring_namespace
File name: unam_rstring_namespace.html