diff Lib/IMPL/Web/Application.pm @ 60:b0c068da93ac

Lazy activation for the configuration objects (final concept) small fixes
author wizard
date Tue, 09 Mar 2010 19:47:39 +0300
parents 0f3e369553bd
children c64bd1bf727d
line wrap: on
line diff
--- a/Lib/IMPL/Web/Application.pm	Tue Mar 09 02:50:45 2010 +0300
+++ b/Lib/IMPL/Web/Application.pm	Tue Mar 09 19:47:39 2010 +0300
@@ -2,7 +2,7 @@
 use strict;
 use warnings;
 
-use base qw(IMPL::Object IMPL::Object::Singleton);
+use base qw(IMPL::Config IMPL::Object::Singleton);
 
 require IMPL::Web::Application::Action;
 require IMPL::Web::Application::Response;
@@ -10,10 +10,13 @@
 use IMPL::Class::Property;
 use CGI;
 
+__PACKAGE__->PassThroughArgs;
+
 BEGIN {
     public property handlerError => prop_all;
     public property factoryAction => prop_all;
     public property handlersQuery => prop_all | prop_list;
+    public property configuration => prop_all;
 }
 
 # custom factory