Commit graph

173 commits

Author SHA1 Message Date
Mike Bierlee 35acaa84d1 Only autowire members which are null 2014-05-30 00:33:08 +02:00
Mike Bierlee a9e5b315e3 Add autowiring of concrete types in existing instances 2014-05-27 01:54:08 +02:00
Mike Bierlee 7d1fe2deda Rename RegistationScope -> CreationScope 2014-05-21 00:27:38 +02:00
Mike Bierlee cbecebf43f Add existing instance registration scope 2014-05-21 00:26:44 +02:00
Mike Bierlee bb0a8d5746 Add registration scope for existing instances 2014-05-20 23:54:45 +02:00
Mike Bierlee abdcd39e9e Add scope setter for new instance scope 2014-05-20 23:36:33 +02:00
Mike Bierlee 8b5122ad91 Add new instance registration scope 2014-05-20 23:31:28 +02:00
Mike Bierlee 2bced68e43 Change reference into class, makes it more easily passed as reference 2014-05-20 23:06:27 +02:00
Mike Bierlee 64e25715cf Add scope setter for single instance scopes 2014-05-20 22:12:14 +02:00
Mike Bierlee 4f2f0fbe59 Add single instance scope, make it the default scope of new registrations 2014-05-20 22:03:50 +02:00
Mike Bierlee 0c084a43b9 Add scope to registration, check for unset scope 2014-05-20 21:54:11 +02:00
Mike Bierlee ac077c24d7 Move registration to own module 2014-05-20 21:38:14 +02:00
Mike Bierlee 464abd9cb0 Skip validity check on registering concrete type 2014-05-20 01:12:15 +02:00
Mike Bierlee b18b6ed49c Add global singleton for simplified use of container 2014-05-20 00:35:49 +02:00
Mike Bierlee 27a50a53cf Remove static context from container 2014-05-20 00:23:25 +02:00
Mike Bierlee da1f604ef7 Add global setting for disabling type validity 2014-05-20 00:16:44 +02:00
Mike Bierlee 423f21230a Throw exception when resolving non-registered type 2014-05-16 02:05:04 +02:00
Mike Bierlee 27d86ce8c7 Fix typo registratedType -> registeredType 2014-05-16 01:38:28 +02:00
Mike Bierlee cc3c0d5f6d Add type validity check 2014-05-16 01:36:17 +02:00
Mike Bierlee 535f5df482 Allow registration by interfaces 2014-05-16 00:23:06 +02:00
Mike Bierlee 6fb34bb233 Give template parameters more meaningful names 2014-05-15 23:49:42 +02:00
Mike Bierlee 5df222f509 Add resolving of registered types 2014-05-10 14:52:29 +02:00
Mike Bierlee 20e78b8d93 Add registration of concrete classes 2014-05-06 01:32:22 +02:00