Package com.sun.enterprise.loader
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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
equals(Object obj)
Returns true if two URL entries has equal URLs.int
hashCode()
Since equals is overridden, we need to override hashCode as well.void
setProtectionDomain(ClassLoader ejbClassLoader, Certificate[] signers)
Sets ProtectionDomain with CodeSource including Signers in Entry for use in call to defineClass.String
toString()
-
-
-
Method Detail
-
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
-
equals
public boolean equals(Object obj)
Returns true if two URL entries has equal URLs.
-
hashCode
public int hashCode()
Since equals is overridden, we need to override hashCode as well.
-
close
public void close()
-
-