/** * Copies or connects an object. Used by local stubs to copy an actual * parameter, result object, or exception. * @param obj the object to copy. * @param orb the ORB. * @return the copy or connected object. * @exception RemoteException if the object could not be copied or * connected. */ public Object copyObject(Object obj, ORB orb) throws RemoteException { return proxied.copyObject(obj, orb); }
public static Object copyObject(Object o, ORB orb) throws RemoteException { return delegate.copyObject(o, orb); }
/** * Copies or connects an object. Used by local stubs to copy * an actual parameter, result object, or exception. * @param obj the object to copy. * @param orb the ORB. * @return the copy or connected object. * @exception RemoteException if the object could not be copied or connected. */ public static Object copyObject (Object obj, ORB orb) throws RemoteException { if (utilDelegate != null) { return utilDelegate.copyObject(obj, orb); } return null; }
/** * Copies or connects an object. Used by local stubs to copy an actual parameter, result object, or exception. * * @param obj * the object to copy. * @param orb * the ORB. * @return the copy or connected object. * @exception RemoteException * if the object could not be copied or connected. */ public static Object copyObject(Object obj, ORB orb) throws RemoteException { if (utilDelegate != null) { return utilDelegate.copyObject(obj, orb); } return null; }
/** * Copies or connects an object. Used by local stubs to copy an actual parameter, result object, or exception. * * @param obj * the object to copy. * @param orb * the ORB. * @return the copy or connected object. * @exception RemoteException * if the object could not be copied or connected. */ public static Object copyObject(Object obj, ORB orb) throws RemoteException { if (utilDelegate != null) { return utilDelegate.copyObject(obj, orb); } return null; }