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

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

public class NoInterfaceViewInvocationHandler
extends java.lang.Object
implements java.lang.reflect.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, java.io.Serializable session, java.lang.Class<?> businessInterface, org.jboss.metadata.ejb.spec.AsyncMethodsMetaData asyncMethods)
          Constructor
 
Method Summary
 boolean equals(java.lang.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()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 boolean isHandled(java.lang.reflect.Method method)
           
 java.lang.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,
                                        java.io.Serializable session,
                                        java.lang.Class<?> businessInterface,
                                        org.jboss.metadata.ejb.spec.AsyncMethodsMetaData asyncMethods)
Constructor

Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.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(java.lang.Object other)
Overrides:
equals in class java.lang.Object
See Also:
Object.equals(Object)

hashCode

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

toString

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

isHandled

public boolean isHandled(java.lang.reflect.Method method)
Parameters:
method -
Returns:


Copyright © 2010. All Rights Reserved.