Class ASURLClassLoader.URLEntry

java.lang.Object
com.sun.enterprise.loader.ASURLClassLoader.URLEntry
Enclosing class:
ASURLClassLoader

protected static final class ASURLClassLoader.URLEntry extends Object
URL entry - keeps track of the url resources.
  • Constructor Details

  • Method Details

    • setProtectionDomain

      public void setProtectionDomain(ClassLoader ejbClassLoader, Certificate[] signers) throws MalformedURLException
      Sets ProtectionDomain with CodeSource including Signers in Entry for use in call to defineClass.
      Parameters:
      signers - the array of signer certs or null
      Throws:
      MalformedURLException
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Returns true if two URL entries has equal URLs.
      Overrides:
      equals in class Object
      Parameters:
      obj - URLEntry to compare against
      Returns:
      true if both entry has equal URL
    • hashCode

      public int hashCode()
      Since equals is overridden, we need to override hashCode as well.
      Overrides:
      hashCode in class Object