Author: asoldano
Date: 2014-10-16 11:30:08 -0400 (Thu, 16 Oct 2014)
New Revision: 18998
Modified:
container/wildfly81/branches/jbossws-wildfly810-4.3.x/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerChainAdd.java
Log:
[JBWS-3842] Fix regression
Modified:
container/wildfly81/branches/jbossws-wildfly810-4.3.x/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerChainAdd.java
===================================================================
---
container/wildfly81/branches/jbossws-wildfly810-4.3.x/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerChainAdd.java 2014-10-16
15:27:33 UTC (rev 18997)
+++
container/wildfly81/branches/jbossws-wildfly810-4.3.x/server-integration/src/main/java/org/jboss/as/webservices/dmr/HandlerChainAdd.java 2014-10-16
15:30:08 UTC (rev 18998)
@@ -38,7 +38,6 @@
import org.jboss.as.controller.ServiceVerificationHandler;
import org.jboss.as.webservices.service.HandlerChainService;
import org.jboss.dmr.ModelNode;
-import org.jboss.msc.inject.Injector;
import org.jboss.msc.service.ServiceBuilder;
import org.jboss.msc.service.ServiceController;
import org.jboss.msc.service.ServiceName;
@@ -86,9 +85,8 @@
final HandlerChainService service = new HandlerChainService(handlerChainType,
handlerChainId, protocolBindings);
final ServiceTarget target = context.getServiceTarget();
final ServiceBuilder<?> handlerChainServiceBuilder =
target.addService(handlerChainServiceName, service);
- final Injector<UnifiedHandlerMetaData> injector =
service.getHandlersInjector();
for (ServiceName sn : PackageUtils.getServiceNameDependencies(context,
handlerChainServiceName, address, HANDLER)) {
- handlerChainServiceBuilder.addDependency(sn,
UnifiedHandlerMetaData.class, injector);
+ handlerChainServiceBuilder.addDependency(sn,
UnifiedHandlerMetaData.class, service.getHandlersInjector());
}
ServiceController<?> controller =
handlerChainServiceBuilder.setInitialMode(ServiceController.Mode.ACTIVE).install();
if (newControllers != null) {
Show replies by date