FileDocCategorySizeDatePackage
EjbModuleEjbResolver.javaAPI DocJBoss 4.2.12397Fri Jul 13 20:53:50 BST 2007org.jboss.ejb3.enc

EjbModuleEjbResolver

public class EjbModuleEjbResolver extends DeploymentEjbResolver
Resolve EJBs.
author
Bill Burke
version
$Revision: 60233 $

Fields Summary
protected LinkedHashMap
ejbContainers
protected org.jboss.ejb3.Ejb3Deployment
deployment
Constructors Summary
public EjbModuleEjbResolver(org.jboss.ejb3.DeploymentScope deploymentScope, String errorName, LinkedHashMap ejbContainers, org.jboss.ejb3.Ejb3Deployment deployment)

      super(deploymentScope, errorName);
      this.ejbContainers = ejbContainers;
      this.deployment = deployment;
   
Methods Summary
protected org.jboss.ejb3.EJBContainersearchDeploymentInternally(java.lang.String ejbLink, java.lang.Class businessIntf)

      for (Object obj : ejbContainers.values())
      {
         EJBContainer container = (EJBContainer) obj;
         if (container.getEjbName().equals(ejbLink))
         {
            return container;
         }
      }
      return null;
   
protected org.jboss.ejb3.EJBContainersearchForEjbContainerInternally(java.lang.Class businessIntf)

      EJBContainer rtnContainer;
      rtnContainer = getEjbContainer(deployment, businessIntf);
      return rtnContainer;