src/main/java/org/jboss/util/naming/Util.java
/**
    * Create a link
    * 
    * @param fromName the from name
    * @param toName the to name
    * @throws NamingException for any error
    */
Create a link

@param fromName the from name
@param toName the to name
@throws NamingException for any error
Create a link @param fromName the from name @param toName the to name @throws NamingException for any error
public static void createLinkRef(String fromName, String toName) throws NamingException
   {
      InitialContext ctx = new InitialContext();
      createLinkRef(ctx, fromName, toName);
   }
public static void createLinkRef ( String fromName , String toName ) throws NamingException { InitialContext ctx = new InitialContext ( ) ; createLinkRef ( ctx , fromName , toName ) ; }
Create a link
Create a link