Methods Summary |
---|
public boolean | equals(java.lang.Object obj)
boolean result = (obj == this); //Most efficient
if ((result == false) && (obj != null)) { //Do elaborate checks
if (obj instanceof RemoteBusinessWrapperBase) {
RemoteBusinessWrapperBase remoteBWB =
(RemoteBusinessWrapperBase) obj;
boolean hasSameBusinessInterface =
(remoteBWB.hashCode_ == hashCode_) &&
remoteBWB.businessInterface_.equals(businessInterface_);
if (hasSameBusinessInterface) {
org.omg.CORBA.Object other = (org.omg.CORBA.Object) remoteBWB.stub_;
org.omg.CORBA.Object me = (org.omg.CORBA.Object) stub_;
result = me._is_equivalent(other);
}
}
}
return result;
|
public java.lang.String | getBusinessInterfaceName()
return businessInterface_;
|
public java.rmi.Remote | getStub()
return stub_;
|
public int | hashCode()
return hashCode_;
|
private void | readObject(java.io.ObjectInputStream ois)
try {
businessInterface_ = (String) ois.readObject();
hashCode_ = businessInterface_.hashCode();
EJBUtils.loadGeneratedRemoteBusinessClasses(businessInterface_);
stub_ = (Remote) ois.readObject();
} catch(Exception e) {
IOException ioe = new IOException("RemoteBusinessWrapper.readObj "
+ " error");
ioe.initCause(e);
throw ioe;
}
|
public java.lang.Object | readResolve()
try {
return EJBUtils.createRemoteBusinessObject(businessInterface_,
stub_);
} catch(Exception e) {
WriteAbortedException wae = new WriteAbortedException
("RemoteBusinessWrapper.readResolve error", e);
wae.initCause(e);
throw wae;
}
|
private void | writeObject(java.io.ObjectOutputStream oos)
oos.writeObject(businessInterface_);
oos.writeObject(stub_);
|
public java.lang.Object | writeReplace()
return new RemoteBusinessWrapperBase(stub_, businessInterface_);
|