org.jboss.ejb3.nointerface.impl.invocationhandler
Class NoInterfaceViewInvocationHandler

java.lang.Object
  extended by org.jboss.ejb3.nointerface.impl.invocationhandler.NoInterfaceViewInvocationHandler
All Implemented Interfaces:
InvocationHandler

public class NoInterfaceViewInvocationHandler
extends Object
implements InvocationHandler

NoInterfaceViewInvocationHandler An InvocationHandler which corresponds to the no-interface view of a EJB container. All calls on the no-interface view are routed through this InvocationHandler to the container.

Version:
$Revision: $
Author:
Jaikiran Pai

Constructor Summary
NoInterfaceViewInvocationHandler(org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext, Serializable session, Class<?> businessInterface, org.jboss.metadata.ejb.spec.AsyncMethodsMetaData asyncMethods)
          Constructor
 
Method Summary
 boolean equals(Object other)
           
 org.jboss.kernel.spi.dependency.KernelControllerContext getContainerContext()
          Returns the context corresponding to the container, associated with this invocation handler
 org.jboss.ejb3.endpoint.Endpoint getInstalledEndpoint()
          Returns the Endpoint container corresponding to this NoInterfaceViewInvocationHandler.
 int hashCode()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 boolean isHandled(Method method)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoInterfaceViewInvocationHandler

public NoInterfaceViewInvocationHandler(org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext,
                                        Serializable session,
                                        Class<?> businessInterface,
                                        org.jboss.metadata.ejb.spec.AsyncMethodsMetaData asyncMethods)
Constructor

Method Detail

invoke

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

getContainerContext

public org.jboss.kernel.spi.dependency.KernelControllerContext getContainerContext()
Returns the context corresponding to the container, associated with this invocation handler

Returns:

getInstalledEndpoint

public org.jboss.ejb3.endpoint.Endpoint getInstalledEndpoint()
Returns the Endpoint container corresponding to this NoInterfaceViewInvocationHandler. Internally, the Endpoint will be first pushed to the INSTALLED state

Returns:

equals

public boolean equals(Object other)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()

isHandled

public boolean isHandled(Method method)
Parameters:
method -
Returns:


Copyright © 2010. All Rights Reserved.