annotate Lib/IMPL/Config/Descriptor.pm @ 406:f23fcb19d3c1 ref20150831

implemented ServicesBag
author cin
date Mon, 31 Aug 2015 20:22:16 +0300
parents 9ef75f2029be
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
404
cin
parents:
diff changeset
1 package IMPL::Config::Descriptor;
cin
parents:
diff changeset
2
cin
parents:
diff changeset
3
cin
parents:
diff changeset
4
cin
parents:
diff changeset
5 1;
cin
parents:
diff changeset
6
cin
parents:
diff changeset
7 __END__
cin
parents:
diff changeset
8
cin
parents:
diff changeset
9 =pod
cin
parents:
diff changeset
10
cin
parents:
diff changeset
11 =head1 NAME
cin
parents:
diff changeset
12
cin
parents:
diff changeset
13 C<IMPL::Config::Descriptor> - the abstract base types for the service descriptors
cin
parents:
diff changeset
14
cin
parents:
diff changeset
15 =head1 SYNOPSIS
cin
parents:
diff changeset
16
cin
parents:
diff changeset
17 =begin code
cin
parents:
diff changeset
18
cin
parents:
diff changeset
19 package MyDescriptor;
cin
parents:
diff changeset
20
cin
parents:
diff changeset
21 use IMPL::declare {
cin
parents:
diff changeset
22 base => {
cin
parents:
diff changeset
23 'IMPL::Config::Descriptor' => '@_'
cin
parents:
diff changeset
24 }
cin
parents:
diff changeset
25 };
cin
parents:
diff changeset
26
cin
parents:
diff changeset
27 sub Activate {
cin
parents:
diff changeset
28 my ($this,$context) = @_;
cin
parents:
diff changeset
29
cin
parents:
diff changeset
30 my $service = $context->GetService('service');
cin
parents:
diff changeset
31 my
cin
parents:
diff changeset
32
cin
parents:
diff changeset
33 }
cin
parents:
diff changeset
34
cin
parents:
diff changeset
35 =end code
cin
parents:
diff changeset
36
cin
parents:
diff changeset
37 =head1 MEMBERS
cin
parents:
diff changeset
38
cin
parents:
diff changeset
39 =head1 SEE ALSO
cin
parents:
diff changeset
40
cin
parents:
diff changeset
41 =over
cin
parents:
diff changeset
42
cin
parents:
diff changeset
43 =item * L<ReferenceDescriptor> - describes a reference to the service
cin
parents:
diff changeset
44
cin
parents:
diff changeset
45 =item * L<ServiceDescriptor> - descibes a service factory
cin
parents:
diff changeset
46
cin
parents:
diff changeset
47 =item * L<ValueDescriptor> - describes a value
cin
parents:
diff changeset
48
cin
parents:
diff changeset
49 =back
cin
parents:
diff changeset
50
cin
parents:
diff changeset
51 =cut