org.rhq.enterprise.server.safeinvoker
Class EJB3SafeEndpointInvoker

java.lang.Object
  extended by org.jboss.ws.core.server.ServiceEndpointInvoker
      extended by org.rhq.enterprise.server.safeinvoker.EJB3SafeEndpointInvoker

public class EJB3SafeEndpointInvoker
extends org.jboss.ws.core.server.ServiceEndpointInvoker

This invoker will take an uninitialized relationships or references from EJB3 pojo's and null them out so that we can pass them as normal objects to the webservice binding layer. (Avoiding LazyInitializationExceptions)

Author:
Greg Hinkle

Field Summary
 
Fields inherited from class org.jboss.ws.core.server.ServiceEndpointInvoker
bindingProvider, delegate, endpoint
 
Constructor Summary
EJB3SafeEndpointInvoker()
           
 
Method Summary
 void invoke(org.jboss.wsf.spi.invocation.InvocationContext invocationContext)
           
 
Methods inherited from class org.jboss.ws.core.server.ServiceEndpointInvoker
callFaultHandlerChain, callRequestHandlerChain, callResponseHandlerChain, closeHandlerChain, getImplMethod, init, setInboundContextProperties, setOutboundContextProperties, setupInvocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJB3SafeEndpointInvoker

public EJB3SafeEndpointInvoker()
Method Detail

invoke

public void invoke(org.jboss.wsf.spi.invocation.InvocationContext invocationContext)
            throws Exception
Overrides:
invoke in class org.jboss.ws.core.server.ServiceEndpointInvoker
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.