apptools.naming.reference module

A reference to an object that lives outside of the naming system.

class apptools.naming.reference.Reference[source]

Bases: traits.has_traits.HasPrivateTraits

A reference to an object that lives outside of the naming system.

References provide a way to store the address(s) of objects that live outside of the naming system. A reference consists of a list of addresses that represent a communications endpoint for the object being referenced.

A reference also contains information to assist in the creation of an instance of the object to which it refers. It contains the name of the class that will be created and the class name and location of a factory that will be used to do the actual instance creation.