org.jboss.ejb3.endpoint.reflect
Class EndpointInvocationHandler

java.lang.Object
  extended by org.jboss.ejb3.endpoint.reflect.EndpointInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class EndpointInvocationHandler
extends Object
implements InvocationHandler

An InvocationHandler adapter for an Endpoint.

Version:
$Revision: $
Author:
Carlo de Wolf

Constructor Summary
EndpointInvocationHandler(Endpoint endpoint, Serializable session, Class<?> invokedBusinessInterface)
          Creates an invocation handler.
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 String toProxyString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndpointInvocationHandler

public EndpointInvocationHandler(Endpoint endpoint,
                                 Serializable session,
                                 Class<?> invokedBusinessInterface)
Creates an invocation handler.

Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

toProxyString

public String toProxyString()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.