public void connect(ORB orb) throws RemoteException { initializeDelegate(); delegate.connect(this, orb); }
public boolean equals(Object o) { initializeDelegate(); return delegate.equals(this, o); }
/** * Returns a hash code value for the object which is the same for all stubs * that represent the same remote object. * @return the hash code value. */ public int hashCode() { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { return stubDelegate.hashCode(this); } return 0; }
private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { initializeDelegate(); delegate.readObject(this, ois); }
public String toString() { initializeDelegate(); return delegate.toString(this); }
private void writeObject(ObjectOutputStream oos) throws IOException { initializeDelegate(); delegate.writeObject(this, oos); }
/** * Serialization method to restore the IOR state. */ private void readObject(java.io.ObjectInputStream stream) throws IOException, ClassNotFoundException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.readObject(this, stream); } }
/** * Returns a string representation of this stub. Returns the same string * for all stubs that represent the same remote object. * @return a string representation of this stub. */ public String toString() { if (stubDelegate == null) { setDefaultDelegate(); } String ior; if (stubDelegate != null) { ior = stubDelegate.toString(this); if (ior == null) { return super.toString(); } else { return ior; } } return super.toString(); }
/** * Serialization method to save the IOR state. * @serialData The length of the IOR type ID (int), followed by the IOR type ID * (byte array encoded using ISO8859-1), followed by the number of IOR profiles * (int), followed by the IOR profiles. Each IOR profile is written as a * profile tag (int), followed by the length of the profile data (int), followed * by the profile data (byte array). */ private void writeObject(java.io.ObjectOutputStream stream) throws IOException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.writeObject(this, stream); } }
/** * Serialization method to restore the IOR state. */ private void readObject(java.io.ObjectInputStream stream) throws IOException, ClassNotFoundException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.readObject(this, stream); } }
/** * Compares two stubs for equality. Returns <code>true</code> when used to compare stubs * that represent the same remote object, and <code>false</code> otherwise. * @param obj the reference object with which to compare. * @return <code>true</code> if this object is the same as the <code>obj</code> * argument; <code>false</code> otherwise. */ public boolean equals(java.lang.Object obj) { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { return stubDelegate.equals(this, obj); } return false; }
public int hashCode() { initializeDelegate(); return delegate.hashCode(this); }
/** * Connects this stub to an ORB. Required after the stub is deserialized * but not after it is demarshalled by an ORB stream. If an unconnected * stub is passed to an ORB stream for marshalling, it is implicitly * connected to that ORB. Application code should not call this method * directly, but should call the portable wrapper method * {@link javax.rmi.PortableRemoteObject#connect}. * @param orb the ORB to connect to. * @exception RemoteException if the stub is already connected to a different * ORB, or if the stub does not represent an exported remote or local object. */ public void connect(ORB orb) throws RemoteException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.connect(this, orb); } }
/** * Returns a string representation of this stub. Returns the same string for all stubs that represent the same * remote object. * * @return a string representation of this stub. */ public String toString() { if (stubDelegate == null) { setDefaultDelegate(); } String ior; if (stubDelegate != null) { ior = stubDelegate.toString(this); if (ior == null) { return super.toString(); } else { return ior; } } return super.toString(); }
/** * Serialization method to save the IOR state. * * @serialData The length of the IOR type ID (int), followed by the IOR type ID (byte array encoded using * ISO8859-1), followed by the number of IOR profiles (int), followed by the IOR profiles. Each IOR * profile is written as a profile tag (int), followed by the length of the profile data (int), followed * by the profile data (byte array). */ private void writeObject(java.io.ObjectOutputStream stream) throws IOException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.writeObject(this, stream); } }
/** * Serialization method to restore the IOR state. */ private void readObject(java.io.ObjectInputStream stream) throws IOException, ClassNotFoundException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.readObject(this, stream); } }
/** * Compares two stubs for equality. Returns <code>true</code> when used to compare stubs that represent the same * remote object, and <code>false</code> otherwise. * * @param obj * the reference object with which to compare. * @return <code>true</code> if this object is the same as the <code>obj</code> argument; <code>false</code> * otherwise. */ public boolean equals(java.lang.Object obj) { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { return stubDelegate.equals(this, obj); } return false; }
/** * Returns a hash code value for the object which is the same for all stubs that represent the same remote object. * * @return the hash code value. */ public int hashCode() { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { return stubDelegate.hashCode(this); } return 0; }
/** * Connects this stub to an ORB. Required after the stub is deserialized but not after it is demarshalled by an ORB * stream. If an unconnected stub is passed to an ORB stream for marshalling, it is implicitly connected to that * ORB. Application code should not call this method directly, but should call the portable wrapper method * {@link javax.rmi.PortableRemoteObject#connect}. * * @param orb * the ORB to connect to. * @exception RemoteException * if the stub is already connected to a different ORB, or if the stub does not represent an exported * remote or local object. */ public void connect(ORB orb) throws RemoteException { if (stubDelegate == null) { setDefaultDelegate(); } if (stubDelegate != null) { stubDelegate.connect(this, orb); } }
/** * Returns a string representation of this stub. Returns the same string for all stubs that represent the same * remote object. * * @return a string representation of this stub. */ public String toString() { if (stubDelegate == null) { setDefaultDelegate(); } String ior; if (stubDelegate != null) { ior = stubDelegate.toString(this); if (ior == null) { return super.toString(); } else { return ior; } } return super.toString(); }