Package com.sun.enterprise.loader
Class ASURLClassLoader.URLEntry
java.lang.Object
com.sun.enterprise.loader.ASURLClassLoader.URLEntry
- Enclosing class:
- ASURLClassLoader
URL entry - keeps track of the url resources.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns 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.toString()
-
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
-
equals
Returns true if two URL entries has equal URLs. -
hashCode
public int hashCode()Since equals is overridden, we need to override hashCode as well.
-