FileDocCategorySizeDatePackage
EJB3IIOPWebClassLoader.javaAPI DocJBoss 4.2.11924Fri Jul 13 20:53:50 BST 2007org.jboss.ejb3.iiop

EJB3IIOPWebClassLoader

public class EJB3IIOPWebClassLoader extends org.jboss.iiop.WebCL
The getKey method of the WebCL class is not working in EJB3, this class fixes that.
author
Carlo de Wolf
version
$Revision: 60233 $

Fields Summary
private String
jndiName
Constructors Summary
public EJB3IIOPWebClassLoader(ObjectName container, org.jboss.mx.loading.RepositoryClassLoader parent, String jndiName)

      super(container, parent);
      this.jndiName = jndiName;
   
Methods Summary
public java.lang.StringgetKey()

      String className = getClass().getName();
      int dot = className.lastIndexOf('.");
      if( dot >= 0 )
          className = className.substring(dot+1);
      String key =  className + '[" + jndiName + ']";
      return key;