comparison Lib/IMPL/Config/Container.pm @ 404:9ef75f2029be default

sync
author cin
date Fri, 28 Aug 2015 19:54:53 +0300
parents
children
comparison
equal deleted inserted replaced
403:7171a8e2e2ba 404:9ef75f2029be
1 package IMPL::Config::Container;
2
3 1;
4
5 __END__
6
7 =pod
8
9 =head1 NAME
10
11 C<IMPL::Config::Container> - dependency injection container
12
13 =head1 SYNOPSIS
14
15 =head2 METHODS
16
17 =head3 GetService($serviceId)
18
19 =over
20
21 =item * $serviceId
22
23 A string indetifier of the service, it can be in two forms: class name or service name,
24 for the class name it should be prefixed with C<@>, for example: C<@Foo::Bar>.
25
26 =back
27
28 The activation container maintains two maps, one for classes and the other for names.
29 The first one is useful when we searching for an implementation the second one when
30 we need a particular service.
31
32 =head3 RegisterService($descriptor)
33
34 =cut