oghenez / mycila

Automatically exported from code.google.com/p/mycila
0 stars 0 forks source link

Mycila does not support requireExplicitBindings() #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I have a problem in my project when i use requireExplicitBindings(). I want to 
do this for safety and extra control.

The problem is that Mycila does not explicitly bind:
com.mycila.inject.jsr250.Jsr250KeyProvider
com.mycila.inject.jsr250.Jsr250PostConstructHandler

Also in Jsr250Module when destroying singletons it uses getAllBindings() which 
in requireExplicitBindings() -mode returns all explicit bindings (which we want 
to destroy) AND any JIT bindings it created internally for linked bindings 
(these are constructor bindings).

Original issue reported on code.google.com by totobobi...@gmail.com on 14 Jul 2011 at 4:34

GoogleCodeExporter commented 8 years ago

Original comment by mathieu....@gmail.com on 7 Aug 2011 at 7:35

GoogleCodeExporter commented 8 years ago

Original comment by mathieu....@gmail.com on 7 Aug 2011 at 7:45