public Object getRemoteBusinessObject ( int interfaceIndex ) throws RemoteException { Class < ? > [ ] bInterfaceClasses = ivBMD . ivBusinessRemoteInterfaceClasses ; BusinessRemoteWrapper wrapper = ivBusinessRemote [ interfaceIndex ] ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "getRemoteBusinessObject : " + wrapper . getClass ( ) . getName ( ) ) ; registerServant ( wrapper , interfaceIndex ) ; ClassLoader moduleContextClassLoader = ivBMD . ivContextClassLoader ; Object result = getRemoteBusinessReference ( wrapper , moduleContextClassLoader , bInterfaceClasses [ interfaceIndex ] ) ; return result ; }
Method to get the remote business object given the index of the interface .