jrun.ejb.invocation
Interface ClientInvocationHandler

All Superinterfaces:
java.lang.reflect.InvocationHandler
All Known Implementing Classes:
ClientInvocationHandlerImpl

public interface ClientInvocationHandler
extends java.lang.reflect.InvocationHandler

A java.lang.reflect.Proxy represents the EJBHome and EJBObject implementations for a deployed EJB in an EJB container. That dynamic proxy delegates all method invocations, regardless of method signature, to the invoke method of InvocationHandler. InvocationHandler is extended by this interface.
When a client references an EJB interface, this Proxy and Handler are marshaled and copied to the client. Thus there is one ClientInvocationHandlerImpl per client EJB reference. One client will have one ClientInvocationHandler for each separate EJB the client is referencing.
This InvocationHandler is created on the server, and copied to the client on each client lookup.
This InvocationHandler must know its available InvocationProxy objects. By default, it know of its remote and local proxy.

Author:
PS Neville

Method Summary
 java.lang.Object getID()
           
 boolean isLocal()
           
 void setID(java.lang.Object id)
           
 void setLocal(boolean b)
           
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Method Detail

setLocal

public void setLocal(boolean b)

isLocal

public boolean isLocal()

getID

public java.lang.Object getID()
                       throws java.lang.Exception

setID

public void setID(java.lang.Object id)


Copyright � 2002 Macromedia Corporation. All Rights Reserved.