Skip to content

Commit

Permalink
Get the past three commits compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
kabir committed Aug 22, 2011
1 parent c76e58b commit 7c794c8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import org.jboss.as.ee.structure.DeploymentTypeMarker;
import org.jboss.as.naming.ManagedReferenceFactory;
import org.jboss.as.naming.ManagedReferenceInjector;
import org.jboss.as.naming.NamingStore;
import org.jboss.as.naming.ServiceBasedNamingStore;
import org.jboss.as.naming.service.BinderService;
import org.jboss.as.server.deployment.DeploymentPhaseContext;
import org.jboss.as.server.deployment.DeploymentUnit;
Expand Down Expand Up @@ -128,7 +128,7 @@ private void bindServices(DeploymentUnit depUnit, ServiceTarget serviceTarget, E
BinderService bindingService = new BinderService("BundleContext");
ServiceBuilder<ManagedReferenceFactory> builder = serviceTarget.addService(serviceName, bindingService);
builder.addDependency(Services.SYSTEM_CONTEXT, BundleContext.class, new ManagedReferenceInjector<BundleContext>(bindingService.getManagedObjectInjector()));
builder.addDependency(contextServiceName, NamingStore.class, bindingService.getNamingStoreInjector());
builder.addDependency(contextServiceName, ServiceBasedNamingStore.class, bindingService.getNamingStoreInjector());
builder.addDependency(Services.FRAMEWORK_ACTIVATOR);
builder.install();
}
Expand Down

0 comments on commit 7c794c8

Please sign in to comment.