Author: richard.opalka(a)jboss.com
Date: 2009-04-03 10:20:01 -0400 (Fri, 03 Apr 2009)
New Revision: 9724
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java
Log:
[JBWS-2074] final optimization
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java 2009-04-03
14:18:23 UTC (rev 9723)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/core/jaxws/handler/HandlerResolverImpl.java 2009-04-03
14:20:01 UTC (rev 9724)
@@ -46,7 +46,6 @@
import org.jboss.wsf.common.handler.GenericHandler;
import org.jboss.wsf.common.handler.GenericSOAPHandler;
import org.jboss.wsf.common.javax.JavaxAnnotationHelper;
-import org.jboss.wsf.spi.metadata.injection.InjectionMetaData;
import org.jboss.wsf.spi.metadata.injection.InjectionsMetaData;
import org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedHandlerMetaData.HandlerType;
@@ -169,13 +168,7 @@
if (handler instanceof GenericSOAPHandler)
((GenericSOAPHandler)handler).setHeaders(soapHeaders);
- // Inject resources
- if (injections != null)
- {
- JavaxAnnotationHelper.injectResources(handler, injections);
- }
-
- // Call @PostConstruct
+ JavaxAnnotationHelper.injectResources(handler, injections);
JavaxAnnotationHelper.callPostConstructMethod(handler);
addHandler(jaxwsMetaData, handler, type);
Show replies by date