Bio::Factory::DriverFactory - Base class for factory classes loading drivers
#this class is not instantiable
This a base class for factory classes that load drivers. Normally, you don't
instantiate this class directly.
User feedback is an integral part of the evolution of this and other Bioperl
modules. Send your comments and suggestions preferably
to one of the Bioperl mailing lists. Your participation is much appreciated.
email@example.com - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive
experts will be able look at the problem and quickly address it. Please
include a thorough description of the problem with code and data examples if
at all possible.
Report bugs to the Bioperl bug tracking system to help us keep track the bugs
and their resolution. Bug reports can be submitted via the web:
Email Jason Stajich <firstname.lastname@example.org>
The rest of the documentation details each of the object methods. Internal
methods are usually preceded with a _
Title : register_driver
Usage : $factory->register_driver("genscan", "Bio::Tools::Genscan");
Function: Registers a driver a factory class should be able to instantiate.
This method can be called both as an instance and as a class
Args : Key of the driver (string) and the module implementing the driver
Title : driver_table
Usage : $table = $factory->driver_table();
Function: Returns a reference to the hash table storing associations of
methods with drivers.
You use this table to look up registered methods (keys) and
In this implementation the table is class-specific and therefore
shared by all instances. You can override this in a derived class,
but note that this method can be called both as an instance and a
This will be the table used by the object internally. You should
definitely know what you're doing if you modify the table's
contents. Modifications are shared by _all_ instances, those present
and those yet to be created.
Returns : A reference to a hash table.
Title : get_driver
Usage : $module = $factory->get_driver("genscan");
Function: Returns the module implementing a driver registered under the
Returns : A string.
Args : Key of the driver (string).
Title : _load_module
Usage : $self->_load_module("Bio::Tools::Genscan");
Function: Loads up (like use) a module at run time on demand.
Returns : TRUE on success