org.jboss.ejb3.nointerface.invocationhandler
Class MCAwareNoInterfaceViewInvocationHandler

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

public class MCAwareNoInterfaceViewInvocationHandler
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

MCAwareNoInterfaceViewInvocationHandler 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.


Constructor Summary
MCAwareNoInterfaceViewInvocationHandler(org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext, java.io.Serializable session)
          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 MCAwareNoInterfaceViewInvocationHandler.
 int hashCode()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
          The entry point when a client calls any methods on the no-interface view of a bean, returned through JNDI.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MCAwareNoInterfaceViewInvocationHandler

public MCAwareNoInterfaceViewInvocationHandler(org.jboss.kernel.spi.dependency.KernelControllerContext endpointContext,
                                               java.io.Serializable session)
Constructor

Parameters:
container -
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
The entry point when a client calls any methods on the no-interface view of a bean, returned through JNDI.

Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Parameters:
proxy -
method - The invoked method
args - The arguments to the method
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 MCAwareNoInterfaceViewInvocationHandler. 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()