GX::Dispatcher

Module Version: 0.2000_01

NAME

GX::Dispatcher - Dispatcher component

SYNOPSIS

package MyApp::Dispatcher;

use GX::Dispatcher;

__PACKAGE__->setup;

1;

DESCRIPTION

This module provides the GX::Dispatcher class which extends the GX::Component::Singleton class.

METHODS

Constructor

new

Returns the dispatcher instance.

$dispatcher = $dispatcher_class->new;
Returns:
Exceptions:

Public Methods

All public methods can be called both as instance and class methods.

setup

Sets up the dispatcher.

$dispatcher->setup;
Exceptions:

Internal Methods

dispatch

Handler method.

$dispatcher->dispatch( $context );
Arguments:

This handler is added to the application's DispatchActions hook.

AUTHOR

Jörg A. Uzarek <uzarek@runlevelnull.de>

COPYRIGHT AND LICENSE

Copyright © 2009-2011 Jörg A. Uzarek.

This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License Version 3 as published by the Free Software Foundation.