| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
AppRunner
A base abstract class for all application runners. Concrete sub-classes must define their corresponding Application using the self.target property and must customize the Application's command line parser using self.command_line().
| Nested Classes | |
|
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
|
| Instance Methods | |||
|
|||
| ArgHandler |
|
||
| Application |
|
||
|
|||
|
Inherited from |
|||
| Static Methods | |||
|
|||
| Class Variables | |
__abstractmethods__ =
|
|
| Properties | |
| args | |
| module | |
| program | |
| type (class reference) |
target Reference to the concrete Application class to run. |
|
Inherited from |
|
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Command line factory: build a command line parser suitable for the application. This is a hook method that each concrete AppRunner must implement.
|
Perform system exit. If the exit
|
Hook method that controls the instantiation of the main app class. If the application has a custom constructor, you can adjust the app initialization by overriding this method.
|
Get the self.command_line() and run self.target. Ensure clean system exit. |
| Property Details |
args
|
module
|
program
|
targetReference to the concrete Application class to run. This is an abstract property
that couples the current
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Dec 27 22:25:17 2013 | http://epydoc.sourceforge.net |