Skip to content
Permalink
Browse files

AS7-5443: adding app & module context special jndi bindings as deps E…

…E components
  • Loading branch information...
emmartins authored and jharting committed Sep 2, 2012
1 parent 521bb89 commit 1ab89568a8dcb1a7eb5c919391d980ffb485c245
@@ -21,7 +21,7 @@
*/
package org.jboss.as.weld.deployment.processors;

import java.util.Set;
import java.util.List;

import org.jboss.as.ee.component.ComponentDescription;
import org.jboss.as.ee.component.ComponentNamingMode;
@@ -71,7 +71,7 @@ public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitPro
return;
}

final Set<ServiceName> dependencies = deploymentUnit.getAttachment(Attachments.JNDI_DEPENDENCIES);
final List<ServiceName> dependencies = deploymentUnit.getAttachmentList(Attachments.JNDI_DEPENDENCIES);


BeanDeploymentArchiveImpl rootBda = deploymentUnit
@@ -119,7 +119,7 @@ public void deploy(DeploymentPhaseContext phaseContext) throws DeploymentUnitPro
deploymentUnit.addToAttachmentList(Attachments.SETUP_ACTIONS, new WeldContextSetup());
}

private void bindBeanManager(ServiceTarget serviceTarget, ServiceName beanManagerServiceName, ServiceName contextServiceName, final Set<ServiceName> dependencies, final ServiceRegistry serviceRegistry) {
private void bindBeanManager(ServiceTarget serviceTarget, ServiceName beanManagerServiceName, ServiceName contextServiceName, final List<ServiceName> dependencies, final ServiceRegistry serviceRegistry) {
final ServiceName beanManagerBindingServiceName = contextServiceName.append("BeanManager");
dependencies.add(beanManagerBindingServiceName);
BinderService beanManagerBindingService = new BinderService("BeanManager");

0 comments on commit 1ab8956

Please sign in to comment.
You can’t perform that action at this time.