Robert 'phaylon' Sedlacek > Class-AbstractLogic-0.01_01 > Class::AbstractLogic::Manager

Download:
Class-AbstractLogic-0.01_01.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Class::AbstractLogic::Manager - Manages Abstract Logic Modules

DESCRIPTION ^

This module does the loading, fetching and similar actions of your declared logic modules.

METHODS ^

new(%args)

Constructor, creates new Management Object and initializes the %args.

load_logic($name, $logic_class)

Loads the specified $logic_class and registers it under the $name in itself. The config hashes value for the key $name will be passed as config for the module.

logic($name)

Retrieves a logic module registered under $name. Croaks if none found or no name supplied.

_register_logic_object($name, $object)

Registers the passed $object under the specified $name in this manager.

_fetch_logic($name)

Returns logic module if exists, croaks otherwise.

_logic_exists($name)

Returns a boolean value depending on the existance of a module registered as $name.

_initialize(%args)

Initializes the arguments.

_config()

Config Accessor.

SEE ALSO ^

Class::AbstractLogic

AUTHOR ^

Robert 'phaylon' Sedlacek <phaylon@dunkelheit.at>

LICENSE AND COPYRIGHT ^

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.