Class Link

    • Constructor Detail

      • Link

        public Link​(java.lang.Object scope,
                    java.lang.String jndiName,
                    java.lang.String link)
             throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
      • Link

        public Link​(java.lang.String jndiName,
                    java.lang.String link)
             throws javax.naming.NamingException
        Throws:
        javax.naming.NamingException
    • Method Detail

      • bindToENC

        public void bindToENC​(java.lang.String localName)
                       throws javax.naming.NamingException
        Description copied from class: NamingEntry
        Add a java:comp/env binding for the object represented by this NamingEntry, but bind it as the name supplied
        Overrides:
        bindToENC in class NamingEntry
        Parameters:
        localName - the local name to bind
        Throws:
        javax.naming.NamingException - if unable to bind
      • getLink

        public java.lang.String getLink()