Mercurial > pub > Impl
comparison Lib/IMPL/Web/Application/ResourceContract.pm @ 240:abc7c26bf615
+Added ObjectFactory for templates with static members support
*fixed web-resource model errors
author | sergey |
---|---|
date | Wed, 17 Oct 2012 17:41:29 +0400 |
parents | 6d8092d8ce1b |
children | 814d755e5d12 |
comparison
equal
deleted
inserted
replaced
239:23daf2fae33a | 240:abc7c26bf615 |
---|---|
1 package IMPL::Web::Application::ResourceContract; | 1 package IMPL::Web::Application::ResourceContract; |
2 use strict; | 2 use strict; |
3 use IMPL::Const qw(:prop); | 3 use IMPL::Const qw(:prop); |
4 use IMPL::declare { | 4 use IMPL::declare { |
5 require => { | 5 require => { |
6 'Exception' => 'IMPL::Exception', | 6 Exception => 'IMPL::Exception', |
7 'ArgumentException' => '-IMPL::ArgumentException', | 7 ArgumentException => '-IMPL::ArgumentException', |
8 'KeyNotFoundException' => '-IMPL::KeyNotFoundException', | 8 KeyNotFoundException => '-IMPL::KeyNotFoundException', |
9 'ResourceClass' => 'IMPL::Web::Application::Resource' | 9 ResourceClass => 'IMPL::Web::Application::Resource' |
10 }, | 10 }, |
11 base => [ 'IMPL::Object' => undef ], | 11 base => [ 'IMPL::Object' => undef ], |
12 props => [ | 12 props => [ |
13 resourceFactory => PROP_ALL, | 13 resourceFactory => PROP_ALL, |
14 verbs => PROP_ALL, | 14 verbs => PROP_ALL, |