base/common/src/main/com/thesett/common/jndi/SimpleContext.java
public String composeName(String name, String prefix) throws NamingException
    {
        Name result = composeName(new CompositeName(name), new CompositeName(prefix));

        return result.toString();
    }
public String composeName(String name, String prefix) throws NamingException
    {
        Name result = composeName(new CompositeName(name), new CompositeName(prefix));

        return result.toString();
    }
public String composeName ( String name , String prefix ) throws NamingException { Name result = composeName ( new CompositeName ( name ) , new CompositeName ( prefix ) ) ; return result . toString ( ) ; }
Composes the name of this context with a name relative to this context. Given a name (name) relative to this
context, and the name (prefix) of this context relative to one of its ancestors, this method returns the
composition of the two names using the syntax appropriate for the naming system(s) involved. That is, if name
names an object relative to this context, the result is the name of the same object, but relative to the ancestor
context. None of the names may be null.

<p/>For example, if this context is named "wiz.com" relative to the initial context, then

<pre>
composeName("east", "wiz.com")
</pre>

<p/>might return "east.wiz.com". If instead this context is named "org/research", then

<pre>
composeName("user/jane", "org/research")
</pre>

<p/>might return "org/research/user/jane" while

<pre>
composeName("user/jane", "research")
</pre>

<p/>returns "research/user/jane".

@param  name   A name relative to this context.
@param  prefix The name of this context relative to one of its ancestors.

@return The composition of prefix and name.

@throws NamingException If a naming exception is encountered.
Composes the name of this context with a name relative to this context . Given a name ( name ) relative to this context and the name ( prefix ) of this context relative to one of its ancestors this method returns the composition of the two names using the syntax appropriate for the naming system ( s ) involved . That is if name names an object relative to this context the result is the name of the same object but relative to the ancestor context . None of the names may be null .