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

sync
author cin
date Fri, 28 Aug 2015 19:54:53 +0300
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Lib/IMPL/Config/Container.pm	Fri Aug 28 19:54:53 2015 +0300
@@ -0,0 +1,34 @@
+package IMPL::Config::Container;
+
+1;
+
+__END__
+
+=pod
+
+=head1 NAME
+
+C<IMPL::Config::Container> - dependency injection container
+
+=head1 SYNOPSIS
+
+=head2 METHODS
+
+=head3 GetService($serviceId)
+
+=over
+
+=item * $serviceId
+
+A string indetifier of the service, it can be in two forms: class name or service name,
+for the class name it should be prefixed with C<@>, for example: C<@Foo::Bar>.
+
+=back
+
+The activation container maintains two maps, one for classes and the other for names.
+The first one is useful when we searching for an implementation the second one when
+we need a particular service. 
+
+=head3 RegisterService($descriptor)
+
+=cut
\ No newline at end of file