public EJBContainer getEjbContainer(String ejbLink, Class businessIntf) { String relativePath = unit.getRelativePath(); EJBContainer container = deploymentScope.getEjbContainer(ejbLink, businessIntf, relativePath); return container; }
public EJBContainer getEjbContainer(Class businessIntf) throws NameNotFoundException { String relativePath = unit.getRelativePath(); return deploymentScope.getEjbContainer(businessIntf, relativePath); }
public void register(Ejb3Deployment deployment) { // Create the path name relative to the root String pathName = deployment.getDeploymentUnit().getRelativePath(); if(pathName.startsWith(shortName)) { if(pathName.length() > shortName.length()) pathName = pathName.substring(shortName.length()+1); else pathName = ""; } deployments.put(pathName, deployment); }