[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

OzoneProxy doesn't implement OzoneRemote?



Is there any particular reason why OzoneProxy doesn't implement
OzoneRemote? As I understand it, every (eg) CarImpl_Proxy class will
implement Car, which will implement OzoneRemote, so all the subclasses
do. Having the base class do so too would be nice in code such as :-

            OzoneRemote o;
            o = db.objectForName( "xxx" );
            db.deleteObject(o);

currently, the OzoneProxy returned by objectForName has to be cast to an
OzoneRemote by hand for use in deleteObject. Is there any reason for
this?

Martin