NAME

OpenInteract2::Setup::InitializeActions - Include and initialize all OpenInteract2 actions

SYNOPSIS

my $setup = OpenInteract2::Setup->new( 'initialize actions' );
$setup->run();

DESCRIPTION

This setup action brings in and initializes all action classes. Here's the procedure:

  • Find all actions from the action table with a 'class' property.

  • Call 'require()' on each of those found classes.

  • Once all classes are brought in, call 'init_at_startup()' on each action class. Any exceptions thrown are caught and logged, but we continue with the process. A class is considered successfully initialized if it does not throw an exception.

Setup Metadata

name - 'initialize actions'

dependencies - 'read action table'

SEE ALSO

OpenInteract2::Setup

OpenInteract2::Action

COPYRIGHT

Copyright (c) 2005 Chris Winters. All rights reserved.

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

AUTHORS

Chris Winters <chris@cwinters.com>