Author: ropalka
Date: 2011-12-16 09:33:27 -0500 (Fri, 16 Dec 2011)
New Revision: 15408
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/transport/ServletHelper.java
Log:
[JBWS-3393] removing all deprecated stuff
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/transport/ServletHelper.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/transport/ServletHelper.java 2011-12-16
14:30:35 UTC (rev 15407)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/transport/ServletHelper.java 2011-12-16
14:33:27 UTC (rev 15408)
@@ -28,7 +28,6 @@
import java.util.ResourceBundle;
import javax.management.ObjectName;
-import javax.naming.Context;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
@@ -58,7 +57,6 @@
import org.jboss.wsf.spi.invocation.RequestHandler;
import org.jboss.wsf.spi.management.EndpointRegistry;
import org.jboss.wsf.spi.management.EndpointRegistryFactory;
-import org.jboss.wsf.spi.metadata.injection.InjectionsMetaData;
import org.jboss.wsf.stack.cxf.management.InstrumentationManagerExtImpl;
/**
@@ -124,8 +122,6 @@
endpoint.getInstanceProvider().getInstance(endpoint.getTargetBeanName());
if (factory != null)
{
- InjectionsMetaData metadata = endpoint.getAttachment(InjectionsMetaData.class);
- Context jndiContext = endpoint.getJNDIContext();
List<Handler> chain = ((JaxWsEndpointImpl)
factory.getServer().getEndpoint()).getJaxwsBinding()
.getHandlerChain();
if (chain != null)
@@ -135,7 +131,6 @@
final Reference handlerReference =
endpoint.getInstanceProvider().getInstance(handler.getClass().getName());
if (!handlerReference.isInitialized()) {
final Object handlerInstance = handlerReference.getValue();
- InjectionHelper.injectResources(handlerInstance, metadata,
jndiContext);
InjectionHelper.callPostConstructMethod(handlerInstance);
handlerReference.setInitialized();
}
Show replies by date