Author: richard.opalka(a)jboss.com
Date: 2009-01-22 06:20:20 -0500 (Thu, 22 Jan 2009)
New Revision: 9090
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java
Log:
use proper invoker
Modified:
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java
===================================================================
---
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java 2009-01-22
09:44:03 UTC (rev 9089)
+++
stack/cxf/trunk/modules/server/src/main/java/org/jboss/wsf/stack/cxf/AbstractInvoker.java 2009-01-22
11:20:20 UTC (rev 9090)
@@ -114,7 +114,6 @@
Object retObj = null;
try
{
- invContext.setTargetBean(getTargetBean(ep));
invHandler.invoke(ep, inv);
retObj = inv.getReturnValue();
}
@@ -128,12 +127,6 @@
protected abstract WebServiceContext getWebServiceContext(MessageContext msgCtx);
- protected Object getTargetBean(Endpoint ep) throws InstantiationException,
IllegalAccessException
- {
- Class beanClass = ep.getTargetBeanClass();
- return beanClass.newInstance();
- }
-
protected void handleException(Exception ex)
{
Throwable th = ex;