[Jifty-commit] r452 -
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Wed Jan 4 13:34:40 EST 2006
Author: jesse
Date: Wed Jan 4 13:34:39 2006
New Revision: 452
Modified:
/ (props changed)
jifty/trunk/lib/Jifty.pm
Log:
r22105 at truegrounds: jesse | 2006-01-04 17:32:09 +0100
* Jifty::Handler is no longer a utility class. now Jifty->handler exists
Modified: jifty/trunk/lib/Jifty.pm
==============================================================================
--- jifty/trunk/lib/Jifty.pm (original)
+++ jifty/trunk/lib/Jifty.pm Wed Jan 4 13:34:39 2006
@@ -106,7 +106,7 @@
__PACKAGE__->logger( Jifty::Logger->new( $args{'logger_component'} ) );
__PACKAGE__->dispatcher(Jifty::Dispatcher->new());
-
+ __PACKAGE__->handler(Jifty::Handler->new());
# Get a classloader set up
Jifty::ClassLoader->new->require;
@@ -114,6 +114,8 @@
# Let's get the database rocking and rolling
__PACKAGE__->setup_database_connection(%args);
+
+
}
=head2 config
@@ -141,6 +143,18 @@
return $LOGGER;
}
+=head2 handler
+
+An accessor for our L<Jifty::Handler> object.
+
+=cut
+
+sub handler {
+ my $class = shift;
+ $LOGGER = shift if (@_);
+ return $LOGGER;
+}
+
=head2 handle
An accessor for the L<Jifty::Handle> object that stores the database
More information about the Jifty-commit
mailing list