Table of Contents

Class: IObjectFactory ./src/peak/naming/interfaces.py

Convert data in a naming system into a useful retrieved object

Base Classes   
Interface
Methods   
getObjectInstance
  getObjectInstance 
getObjectInstance (
        context,
        refInfo,
        name,
        attrs=None,
        )

Return the object that should be constructed from refInfo

This function or method should return the object which is referenced by refInfo, or None if it does not know how or does not wish to interpret refInfo.

refInfo is an IReference representing an object found in context under name, with attributes attrs. The specific contents of refInfo, name, and attrs, are entirely dependent upon the implementation details of the context object.

(Note: the official semantics of the attrs parameter is not yet defined; it is reserved for implementing JNDI 'DirContext'-style operations. Currently None is the only correct value for attrs.)


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:05 2024 by HappyDoc version 2.1