org.jboss.iiop
Class WebCL

java.lang.Object
  extended byjava.lang.ClassLoader
      extended byjava.security.SecureClassLoader
          extended byjava.net.URLClassLoader
              extended byorg.jboss.util.loading.DelegatingClassLoader (src) 
                  extended byorg.jboss.mx.loading.LoaderRepositoryClassLoader (src) 
                      extended byorg.jboss.web.WebClassLoader (src) 
                          extended byorg.jboss.iiop.WebCL

public class WebCL
extends WebClassLoader (src)

A subclass of WebClassLoader that does IIOP bytecode generation on the fly.


Field Summary
 
Fields inherited from class org.jboss.mx.loading.LoaderRepositoryClassLoader (src)
repository
 
Fields inherited from class org.jboss.util.loading.DelegatingClassLoader (src)
EMPTY_URL_ARRAY, standard
 
Constructor Summary
WebCL(ObjectName (src)  container, RepositoryClassLoader (src)  parent)
          Creates new WebCL
 
Method Summary
protected  java.lang.Class findClass(java.lang.String name)
           
 byte[] getBytes(java.lang.Class clz)
          Gets the bytecodes for a given stub class.
 java.lang.String getKey()
          Gets a string key used as the key into the WebServer's loaderMap.
 
Methods inherited from class org.jboss.web.WebClassLoader (src)
getCodebaseString, getContainer, getLocalURLs, getURL, getURLs, setWebURLs
 
Methods inherited from class org.jboss.mx.loading.LoaderRepositoryClassLoader (src)
loadClass
 
Methods inherited from class java.net.URLClassLoader
addURL, definePackage, findResource, findResources, getPermissions, newInstance, newInstance
 
Methods inherited from class java.security.SecureClassLoader
defineClass
 
Methods inherited from class java.lang.ClassLoader
clearAssertionStatus, defineClass, defineClass, defineClass, definePackage, findLibrary, findLoadedClass, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebCL

public WebCL(ObjectName (src)  container,
             RepositoryClassLoader (src)  parent)
Creates new WebCL

Method Detail

getKey

public java.lang.String getKey()
Gets a string key used as the key into the WebServer's loaderMap.

Overrides:
getKey in class WebClassLoader (src)

getBytes

public byte[] getBytes(java.lang.Class clz)
Gets the bytecodes for a given stub class.

Overrides:
getBytes in class WebClassLoader (src)
Returns:
a byte array with the bytecodes for class cls, or null if this classloader is unable to return such byte array.

findClass

protected java.lang.Class findClass(java.lang.String name)
                             throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException