NAME

ResourcePool::Factory::Alzabo - An Alzabo Factory for ResourcePool

SYNOPSIS

 use ResourcePool::Factory::Alzabo;

 my $factory =  ResourcePool::Factory::Alzabo->new(
                        $schema_name,
                        $data_source,
                        $username,
                        $auth,
                        \%attr);

DESCRIPTION

This class is a factory class for Alzabo::Runtime::Schema resources to be used with the ResourcePool.

Please have a look at ResourcePool::Factory documentation to learn about the purpose of such a factory.

ResourcePool::Factory::Alzabo->new($schema_name, $data_source, $username, $auth, \%attr)

Takes the same arguments as the connect method of the DBI perl module with the addition of the schema name to be loaded.

$schema_name

The Alzabo schema name to load and associate with the DBI handle.

$data_source

The DBI data source.

$username

The username used to authenticate.

$auth

The password used to authenticate.

\%attr

DBI attributes.

SEE ALSO

Alzabo::Runtime::Schema, DBI, ResourcePool, ResourcePool::Factory

AUTHOR

Copyright (C) 2004 by Texas A&M University <jsmith@cpan.org>

Based on ResourcePool::Factory::DBI

Copyright (C) 2001-2003 by Markus Winand <mws@fatalmind.com>

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