jrun.ejb
Class EJBProxyFactory

java.lang.Object
  |
  +--jrun.ejb.EJBProxyFactory

public class EJBProxyFactory
extends java.lang.Object

Factory for creating Proxy objects for the specified container with the specified unique ID, which enables the container to map clients to bean instances.

Author:
Paul Reilly, Sean Neville

Constructor Summary
EJBProxyFactory()
           
 
Method Summary
static java.lang.Object createHomeProxy(ClientInvokableContainer clientInvokableContainer, boolean isLocal)
           
static java.lang.Object createInstanceProxy(ClientInvokableContainer clientInvokableContainer, java.lang.Object id, java.lang.Object securityID, boolean isLocal)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBProxyFactory

public EJBProxyFactory()
Method Detail

createHomeProxy

public static java.lang.Object createHomeProxy(ClientInvokableContainer clientInvokableContainer,
                                               boolean isLocal)
                                        throws java.lang.Exception
Parameters:
clientInvokableContainer - The container.
isLocal - True if the proxy handler to be created should use a local invocation proxy.
Returns:
A new local home/home interface Proxy instance.
See Also:
Proxy

createInstanceProxy

public static java.lang.Object createInstanceProxy(ClientInvokableContainer clientInvokableContainer,
                                                   java.lang.Object id,
                                                   java.lang.Object securityID,
                                                   boolean isLocal)
                                            throws java.lang.Exception
Parameters:
clientInvokableContainer - The container.
id - The instance's ID.
securityID - The instance's security ID.
isLocal - True if the proxy handler to be created should use a local invocation proxy.
Returns:
A new local/remote Proxy instance.
See Also:
Proxy


Copyright � 2002 Macromedia Corporation. All Rights Reserved.