| Supervisor documentation | Contained in the Supervisor distribution. |
Supervisor::Base - The base environment for the Supervisor
use Supervisor::Class base => 'Supervisor::Base' ;
This is the base module for the Supervisor environmnet. It provides some global error messages and one method to retrieve config values. It also inherits all the properties of Badger::Base.
This method is used to return items from the interal config cache.
Badger::Base Supervisor Supervisor::Base Supervisor::Class Supervisor::Constants Supervisor::Controller Supervisor::Log Supervisor::Process Supervisor::ProcessFactory Supervisor::Session Supervisor::Utils Supervisor::RPC::Server Supervisor::RPC::Client
Kevin L. Esteb, <kesteb@wsipc.org>
Copyright (C) 2009 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.
| Supervisor documentation | Contained in the Supervisor distribution. |
package Supervisor::Base; our $VERSION = '0.06'; use Supervisor::Class base => 'Badger::Base', version => $VERSION, messages => { evenparams => "%s requires an even number of paramters\n", noalias => "can not set session alias %s\n", badini => "can not load %s\n", } ; # ---------------------------------------------------------------------- # Public Methods # ---------------------------------------------------------------------- sub config { my ($self, $p) = @_; return $self->{config}->{$p}; } 1; __END__