Attempt to acquire the class loading lock. This lock must be acquired
before a thread enters the class loading task loop in loadClass. This
method maintains any interrupted state of the calling thread.
See Also:RepositoryClassLoader.loadClass(String,boolean)
This is here to document that this must delegate to the
super implementation to perform identity based equality. Using
URL based equality caused conflicts with the Class.forName(String,
boolean, ClassLoader).
Called by loadClassLocally to find the requested class within this
class loaders class path.
Parameters: name - the name of the class the resulting class exception: ClassNotFoundException - if the class could not be found
Find all resource URLs for the given name. This overrides the
URLClassLoader version to look for resources in the repository.
Parameters: name - the name of the resource Enumeration throws: java.io.IOException -
This method simply invokes the super.getURLs() method to access the
list of URLs that make up the RepositoryClassLoader classpath.
the urls that make up the classpath
This is here to document that this must delegate to the
super implementation to perform identity based hashing. Using
URL based hashing caused conflicts with the Class.forName(String,
boolean, ClassLoader).
isClassBlackListed
public boolean isClassBlackListed(String name)(Code)
Is the class black listed?
Parameters: name - the name of the class true when the class is black listed, false otherwise
isResourceBlackListed
public boolean isResourceBlackListed(String name)(Code)
Is the resource black listed?
Parameters: name - the name of the resource true when the resource is black listed, false otherwise
Obtain the bytecode for the indicated class from this class loaders
classpath.
Parameters: classname - the bytecode array if found exception: ClassNotFoundException - - if the class resource could notbe found
Obtain the bytecode for the indicated class from this class loaders
classpath.
Parameters: classURL - the bytecode array if found exception: ClassNotFoundException - - if the class resource could notbe found
The only caller of this method should be the VM initiated
loadClassInternal() method. This method attempts to acquire the
UnifiedLoaderRepository2 lock and then asks the repository to
load the class.
The only caller of this method should be the VM initiated
loadClassInternal() method. This method attempts to acquire the
UnifiedLoaderRepository2 lock and then asks the repository to
load the class.