org.granite.messaging.service
Class EjbServiceInvoker

java.lang.Object
  extended by org.granite.messaging.service.ServiceInvoker<EjbServiceFactory>
      extended by org.granite.messaging.service.EjbServiceInvoker

public class EjbServiceInvoker
extends org.granite.messaging.service.ServiceInvoker<EjbServiceFactory>

Author:
Franck WOLFF

Field Summary
static String CAPITALIZED_DESTINATION_ID
           
static String DESTINATION_ID
           
 
Fields inherited from class org.granite.messaging.service.ServiceInvoker
destination, factory, invocationListeners, invokee
 
Constructor Summary
EjbServiceInvoker(org.granite.config.flex.Destination destination, EjbServiceFactory factory)
           
 
Method Summary
protected  Object afterInvocation(org.granite.messaging.service.ServiceInvocationContext context, Object result)
           
protected  void afterInvocationError(org.granite.messaging.service.ServiceInvocationContext context, Throwable error)
           
 EjbServiceMetadata getMetadata()
           
 
Methods inherited from class org.granite.messaging.service.ServiceInvoker
adjustInvokee, beforeInvocation, beforeMethodSearch, invoke, retryInvocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAPITALIZED_DESTINATION_ID

public static final String CAPITALIZED_DESTINATION_ID
See Also:
Constant Field Values

DESTINATION_ID

public static final String DESTINATION_ID
See Also:
Constant Field Values
Constructor Detail

EjbServiceInvoker

public EjbServiceInvoker(org.granite.config.flex.Destination destination,
                         EjbServiceFactory factory)
                  throws org.granite.messaging.service.ServiceException
Throws:
org.granite.messaging.service.ServiceException
Method Detail

getMetadata

public EjbServiceMetadata getMetadata()

afterInvocationError

protected void afterInvocationError(org.granite.messaging.service.ServiceInvocationContext context,
                                    Throwable error)
Overrides:
afterInvocationError in class org.granite.messaging.service.ServiceInvoker<EjbServiceFactory>

afterInvocation

protected Object afterInvocation(org.granite.messaging.service.ServiceInvocationContext context,
                                 Object result)
Overrides:
afterInvocation in class org.granite.messaging.service.ServiceInvoker<EjbServiceFactory>