public static boolean isLocal(Stub s) throws RemoteException { return delegate.isLocal(s); }
/** * The <tt>_is_local()</tt> method is provided so that stubs may determine * if a particular object is implemented by a local servant and hence local * invocation APIs may be used. * @param stub the stub to test. * @return true if the servant incarnating the object is located in the same * process as the stub and they both share the same ORB instance. * The <tt>_is_local()</tt> method returns false otherwise. The * default behavior of <tt>_is_local()</tt> is to return false. * @throws RemoteException The Java to IDL specification does not specify * the conditions that cause a <tt>RemoteException</tt> to be * thrown. */ public boolean isLocal(Stub stub) throws RemoteException { return proxied.isLocal(stub); }
/** * The <tt>isLocal</tt> method has the same semantics as the <tt>ObjectImpl._is_local</tt> method, except that it * can throw a <tt>RemoteException</tt>. * * The <tt>_is_local()</tt> method is provided so that stubs may determine if a particular object is implemented by * a local servant and hence local invocation APIs may be used. * * @param stub * the stub to test. * * @return The <tt>_is_local()</tt> method returns true if the servant incarnating the object is located in the same * process as the stub and they both share the same ORB instance. The <tt>_is_local()</tt> method returns * false otherwise. The default behavior of <tt>_is_local()</tt> is to return false. * * @throws RemoteException * The Java to IDL specification does not specify the conditions that cause a <tt>RemoteException</tt> * to be thrown. */ public static boolean isLocal(Stub stub) throws RemoteException { if (utilDelegate != null) { return utilDelegate.isLocal(stub); } return false; }
/** * The <tt>isLocal</tt> method has the same semantics as the * <tt>ObjectImpl._is_local</tt> * method, except that it can throw a <tt>RemoteException</tt>. * * The <tt>_is_local()</tt> method is provided so that stubs may determine if a * particular object is implemented by a local servant and hence local * invocation APIs may be used. * * @param stub the stub to test. * * @return The <tt>_is_local()</tt> method returns true if * the servant incarnating the object is located in the same process as * the stub and they both share the same ORB instance. The <tt>_is_local()</tt> * method returns false otherwise. The default behavior of <tt>_is_local()</tt> is * to return false. * * @throws RemoteException The Java to IDL specification does not * specify the conditions that cause a <tt>RemoteException</tt> to be thrown. */ public static boolean isLocal(Stub stub) throws RemoteException { if (utilDelegate != null) { return utilDelegate.isLocal(stub); } return false; }
/** * The <tt>isLocal</tt> method has the same semantics as the <tt>ObjectImpl._is_local</tt> method, except that it * can throw a <tt>RemoteException</tt>. * * The <tt>_is_local()</tt> method is provided so that stubs may determine if a particular object is implemented by * a local servant and hence local invocation APIs may be used. * * @param stub * the stub to test. * * @return The <tt>_is_local()</tt> method returns true if the servant incarnating the object is located in the same * process as the stub and they both share the same ORB instance. The <tt>_is_local()</tt> method returns * false otherwise. The default behavior of <tt>_is_local()</tt> is to return false. * * @throws RemoteException * The Java to IDL specification does not specify the conditions that cause a <tt>RemoteException</tt> * to be thrown. */ public static boolean isLocal(Stub stub) throws RemoteException { if (utilDelegate != null) { return utilDelegate.isLocal(stub); } return false; }