public void addToComponentNamespace(JndiNameEnvironment origEnv, Collection<EnvironmentProperty> envProps, Collection<ResourceReferenceDescriptor> resRefs) throws NamingException { String compEnvId = getComponentEnvId(origEnv); Collection<JNDIBinding> bindings = new ArrayList<JNDIBinding>(); addEnvironmentProperties(ScopeType.COMPONENT, envProps.iterator(), bindings); addResourceReferences(ScopeType.COMPONENT, resRefs.iterator(), bindings); boolean treatComponentAsModule = DOLUtils.getTreatComponentAsModule(origEnv); // Bind dependencies to the namespace for this component namingManager.bindToComponentNamespace(DOLUtils.getApplicationName(origEnv), DOLUtils.getModuleName(origEnv), compEnvId, treatComponentAsModule, bindings); return; }
public void addToComponentNamespace(JndiNameEnvironment origEnv, Collection<EnvironmentProperty> envProps, Collection<ResourceReferenceDescriptor> resRefs) throws NamingException { String compEnvId = getComponentEnvId(origEnv); Collection<JNDIBinding> bindings = new ArrayList<JNDIBinding>(); addEnvironmentProperties(ScopeType.COMPONENT, envProps.iterator(), bindings); addResourceReferences(ScopeType.COMPONENT, resRefs.iterator(), bindings); boolean treatComponentAsModule = getTreatComponentAsModule(origEnv); // Bind dependencies to the namespace for this component namingManager.bindToComponentNamespace(getApplicationName(origEnv), getModuleName(origEnv), compEnvId, treatComponentAsModule, bindings); return; }
namingManager.bindToComponentNamespace(getApplicationName(env), getModuleName(env), compEnvId, treatComponentAsModule, bindings); compEnvId = getComponentEnvId(env);
namingManager.bindToComponentNamespace(DOLUtils.getApplicationName(env), DOLUtils.getModuleName(env), compEnvId, treatComponentAsModule, bindings); compEnvId = getComponentEnvId(env);