private String createScopeKernelName(VFSDeploymentUnit unit, DeploymentScope ear) { String scopedKernelName = ""; if (ear != null) scopedKernelName += ",ear=" + ear.getShortName(); scopedKernelName += ",jar=" + unit.getSimpleName(); return scopedKernelName; }
public EJBContainer getEjbContainer(String ejbLink, Class businessIntf) { String relativePath = unit.getRelativePath(); EJBContainer container = deploymentScope.getEjbContainer(ejbLink, businessIntf, relativePath); return container; }
Ejb3Deployment dep = deploymentScope.findRelativeDeployment(relativePath); if (dep == null) if(jndiName != null) return jndiName; for(Ejb3Deployment dep : deploymentScope.getEjbDeployments())
Ejb3Deployment dep = deploymentScope.findRelativeDeployment(relativePath); if (dep == null)
if (deploymentScope != null) for (Ejb3Deployment deployment : deploymentScope.getEjbDeployments())
Ejb3Deployment dep = deploymentScope.findRelativeDeployment(relativePath); if (dep == null)
if (deploymentScope != null) for (Ejb3Deployment deployment : deploymentScope.getEjbDeployments())
/** * Returns a partial MBean attribute name of the form * ",ear=foo.ear,jar=foo.jar" * * @return */ private String getScopeKernelName() { String scopedKernelName = ""; if (deploymentScope != null) scopedKernelName += ",ear=" + deploymentScope.getShortName(); scopedKernelName += ",jar=" + unit.getShortName(); return scopedKernelName; }
public EJBContainer getEjbContainer(Class businessIntf) throws NameNotFoundException { String relativePath = unit.getRelativePath(); return deploymentScope.getEjbContainer(businessIntf, relativePath); }