| | |
- __builtin__.object
-
- Config
-
- PyContainerConfig
- PythonConfig(Config, springpython.context.ApplicationContextAware)
- SpringJavaConfig
- XMLConfig
- InnerObjectDef
- ObjectDef
- ReferenceDef
- ValueDef
-
- DictDef
- FrozenSetDef
- ListDef
- SetDef
- TupleDef
- exceptions.Exception
-
- InvalidObjectScope
class Config(__builtin__.object) |
| |
Config is an interface that defines how to read object definitions from an input source. |
| |
Methods defined here:
- read_object_defs(self)
- Abstract method definition - should return an array of Object objects
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Config' objects>
- list of weak references to the object (if defined)
|
class InnerObjectDef(__builtin__.object) |
| |
This class represents an inner object. It is optional whether or not the object
has its own name. |
| |
Methods defined here:
- __init__(self, name, inner_comp)
- __str__(self)
- get_value(self, container)
- prefetch(self, container)
- set_value(self, obj, container)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'InnerObjectDef' objects>
- list of weak references to the object (if defined)
|
class ObjectDef(__builtin__.object) |
| |
ObjectDef is a format-neutral way of storing object definition information. It includes
a handle for the actual ObjectFactory that should be used to utilize this information when
creating an instance of a object. |
| |
Methods defined here:
- __init__(self, id, props=None, factory=None, scope='scope.SINGLETON', lazy_init=False)
- __str__(self)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'ObjectDef' objects>
- list of weak references to the object (if defined)
|
class ReferenceDef(__builtin__.object) |
| |
This class represents a definition that is referencing another object. |
| |
Methods defined here:
- __init__(self, name, ref)
- __str__(self)
- get_value(self, container)
- prefetch(self, container)
- set_value(self, obj, container)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'ReferenceDef' objects>
- list of weak references to the object (if defined)
|
class ValueDef(__builtin__.object) |
| |
This class represents a property that holds a value. The value can be simple value, or
it can be a complex container which internally holds references, inner objects, or
any other type. |
| |
Methods defined here:
- __init__(self, name, value)
- __str__(self)
- get_value(self, container)
- scan_value(self, container, value)
- set_value(self, obj, container)
Data and other attributes defined here:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'ValueDef' objects>
- list of weak references to the object (if defined)
|
class XMLConfig(Config) |
| |
SpringPythonConfig supports current Spring Python format of XML object definitions. |
| |
- Method resolution order:
- XMLConfig
- Config
- __builtin__.object
Methods defined here:
- __init__(self, config_location)
- read_object_defs(self)
Data and other attributes inherited from Config:
- __dict__ = <dictproxy object>
- dictionary for instance variables (if defined)
- __weakref__ = <attribute '__weakref__' of 'Config' objects>
- list of weak references to the object (if defined)
| |