Mercurial > pub > Impl
comparison Lib/IMPL/Class/Property/Direct.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 | 05df123a2ff1 |
comparison
equal
deleted
inserted
replaced
59:0f3e369553bd | 60:b0c068da93ac |
---|---|
8 use IMPL::Class::Property; | 8 use IMPL::Class::Property; |
9 require IMPL::Exception; | 9 require IMPL::Exception; |
10 | 10 |
11 __PACKAGE__->mk_accessors qw(ExportField); | 11 __PACKAGE__->mk_accessors qw(ExportField); |
12 | 12 |
13 push @IMPL::Class::Property::Base::factoryParams, qw($field); | 13 sub factoryParams { |
14 $_[0]->SUPER::factoryParams, qw($field); | |
15 } | |
14 | 16 |
15 sub _direct($) { | 17 sub _direct($) { |
16 my ($prop_info) = @_; | 18 my ($prop_info) = @_; |
17 $prop_info->Implementor( IMPL::Class::Property::Direct->new({ExportField => 1}) ); | 19 $prop_info->Implementor( IMPL::Class::Property::Direct->new({ExportField => 1}) ); |
18 return $prop_info; | 20 return $prop_info; |