src/main/java/org/jboss/util/naming/Util.java
/** Bind val to name in ctx, and make sure that all intermediate contexts exist
    @param ctx the parent JNDI Context under which value will be bound
    @param name the name relative to ctx where value will be bound
    @param value the value to bind.
    @throws NamingException for any error
    */
Bind val to name in ctx, and make sure that all intermediate contexts exist
Bind val to name in ctx and make sure that all intermediate contexts exist
public static void bind(Context ctx, String name, Object value) throws NamingException
   {
      Name n = ctx.getNameParser("").parse(name);
      bind(ctx, n, value);
   }
public static void bind ( Context ctx , String name , Object value ) throws NamingException { Name n = ctx . getNameParser ( "" ) . parse ( name ) ; bind ( ctx , n , value ) ; }
Bind val to name in ctx, and make sure that all intermediate contexts exist
Bind val to name in ctx and make sure that all intermediate contexts exist