NAME

PluginManager - Manages the use of the plugins, installation and uninstallation. Modification is not yet supported. Instead, uninstall the old version and then install the new one.


SYNOPSIS

        use DBI;
        use PluginManager;

        my $dbh = DBI->connect(...);
        my $plugin = new PluginManager( dbHandle=>$dbh, pluginDir=>'plugins/routers' );

        $plugin->install

        $plugin->uninstall


DESCRIPTION

PluginManager manages the use of the plugins, from installation to uninstallation. Modification is not supported yet and will have to wait.

Installation: it checks if certain OID's already exists.

Uninstallation: it checks if OID's to be deleted are being used by other target type


METHODS

        new() - create a new plugin manager
        
                dbHandle  - database handle
                pluginDir - plugin directory

        install() - start installing the module (e.g. insert new OID's, target types into the database, prepare directory in main cricket-config directory

        uninstall() - delete all OID's and target types related to this plugin, also remove the config directory for the plugin in the main cricket-config directory


AUTHORS

PluginManager is supported as part of the core Pawikan distribution. Please send bug report to <netapps@pregi.net> or use the bugzilla.

Edwin Viñas <edwinv@asti.dost.gov.ph>

Jerremeo Raynier Gabás <ren@asti.dost.gov.ph>

René Mendoza <renem@asti.dost.gov.ph>

Rey Vincent Babilonia <rvincent@asti.dost.gov.ph>

Paul Afroilan <paula@asti.dost.gov.ph>


COPYRIGHT

Copyright (c) 2004 Philippine Research, Education and Government Information Network. All rights reserved. This program is part of the Pawikan distribution; you can redistribute it and/or modify it under the same terms as Pawikan itself.