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 voidclose()booleanequals(Object obj)Returns true if two URL entries has equal URLs.inthashCode()Since equals is overridden, we need to override hashCode as well.voidsetProtectionDomain(ClassLoader ejbClassLoader, Certificate[] signers)Sets ProtectionDomain with CodeSource including Signers in Entry for use in call to defineClass.StringtoString()
-
-
-
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()
-
-