NAME
Gapp::App::Role::HasPluginManager - Role for app with managed plugins
SYNOPSIS
package Foo::App;
use Moose;
extends 'Gapp::App';
with 'Gapp::App::Role::HasPluginManager';
sub BUILD {
$self->plugin_manager->add_search_path( 'plugins/directory' );
$self->plugin_manager->register_plugins;
}
DESCRIPTION
A plugin manager object will scan a list of directories for plugins and register them with the application.
PROVIDED ATTRIBUTES
AUTHORS
Jeffrey Ray Hallock <jeffrey.hallock at gmail dot com>
COPYRIGHT & LICENSE
Copyright (c) 2012 Jeffrey Ray Hallock.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)