Home | Trees | Indices | Help |
|
---|
|
object --+ | core.Manager --+ | core.BaseComponent --+ | core.Component --+ | Environment
Environment(path, name, version=VERSION, config=CONFIG) -> Environment
Creates a new environment component that by default only holds configuration and logger components.
This component can be extended to provide more complex system and application environments. This component will expose the following events:
Nested Classes | |
Inherited from |
Instance Methods | |||
Environment |
|
||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Static Methods | |
Inherited from |
Class Variables | |
channel =
The Component's Channel |
|
version = 1
|
Instance Variables | |
Inherited from |
Properties | |
Inherited from Inherited from |
Method Details |
initializes x; see x.__class__.__doc__ for signature
|
Create a new Environment. The Environment path given by self.path must not already exist.
|
Verify the Environment by checking it's version against the expected version. If the Environment's version does not match, send an EnvNeedsUpgrade event. If the Environment is invalid and cannot be read, send an Invalid event.
|
Load the Environment. Load the configuration and logging components. If verify=True, verify the Environment first.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 8 23:51:18 2009 | http://epydoc.sourceforge.net |