LogoopenSUSE Build Service > Projects
Sign Up | Log In

Class-Factory module for perl

Class-Factory module for perl

This is a simple module that factory classes can use to generate new types of
 objects on the fly, providing a consistent interface to common groups of objects.

Factory classes are used when you have different implementations for the same set
 of tasks but may not know in advance what implementations you will be using.
 Configuration files are a good example of this. There are four basic operations
 you would want to do with any configuration: read the file in, lookup a value,
 set a value, write the file out. There are also many different types of
 configuration files, and you may want users to be able to provide an
 implementation for their own home-grown configuration format.

  Authors:	Fred Moyer <fred@redhotpenguin.com>
		 is the current maintainer.

		Chris Winters <chris@cwinters.com>

		Eric Andreychek <eric@openthought.net>
		 implemented overridable log/error capability and
		 prodded the module into a simpler design.

		Srdjan Jankovic <srdjan@catalyst.net.nz>
		 contributed the idea for 'get_my_factory()' and 'get_my_factory_type()'

		Sebastian Knapp <giftnuss@netscape.net>
		 contributed the idea for 'get_registered_class()'

		Marcel Gruenauer <marcel@cpan.org>
		 contributed the methods 'remove_factory_type()'
		 and 'unregister_factory_type()'.

-------------------------------------------------------------------------------

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions

Comments for home:computersalat:OpenXPKI (0)

Login required, please login or signup in order to comment