org.jboss.embedded.jndi
Class BridgeContext

java.lang.Object
  extended by org.jboss.embedded.jndi.BridgeContext
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

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

This class is the Context interface handler and performs the failed lookup delegation from the primary to secondary naming Context.


Method Summary
static javax.naming.Context createBridge(javax.naming.Context primaryCtx, javax.naming.Context secondaryCtx)
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createBridge

public static javax.naming.Context createBridge(javax.naming.Context primaryCtx,
                                                javax.naming.Context secondaryCtx)

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