[ZODB-Dev] Re: Ape and retrieval of other zodb items
Shane Hathaway
shane at zope.com
Thu May 1 15:48:39 EDT 2003
Rocky Burt wrote:
> Shane,
>
> I'm currently in the bowls of my own gateway. Inside my gateway, if an
> object that is being stored is derived from a ZClass, I need access to
> the ZClass itself so I can do some introspection. Is there an easy way
> to get access to that ZClass (since the ZClass is also stored in a zodb
> -- maybe the same one). Or am I going about this all wrong?
To enable Ape to potentially work with ZEO, gateways do not have access
to the live object system for introspection. Any information you need
from the ZClass needs to be exposed to the gateway through the state
created by the serializer. This might mean you need a special serializer.
Shane
More information about the ZODB-Dev
mailing list