glassfish-hk2
glassfish-hk2 copied to clipboard
Dynamic dependency injection framework
## Environment Details * GlassFish Version (and build number): 4.1 * JDK version: 1.8 * OS: any * Database: ---------- ## Problem Description What is the effect of throwing WouldBlockException?...
According to [https://java.net/projects/hk2/lists/users/archive/2013-12/message/3](https://java.net/projects/hk2/lists/users/archive/2013-12/message/3) in order to use the @Service annotation we must run the hk2-inhabitant-generator. This is problematic because: 1. I don't remember seeing a mention of this anywhere, though...
See this thread on stack-overflow concerning the lack of documentation on the use of factories: [http://stackoverflow.com/questions/20123326/how-do-i-configure-hk2-to-inject-an-object-created-by-a-factory-method](http://stackoverflow.com/questions/20123326/how-do-i-configure-hk2-to-inject-an-object-created-by-a-factory-method) #### Affected Versions [2.2.0]
like guice : Names.bindProperties(binder(), properties); #### Affected Versions [2.2.0]
There is an hk2-config subsystem for parsing XML and some integration into the hk2 configuration hub system, but it'd be better to integration the hk2 configuration hub system with the...
If a Factory implementation is in a proxiable scope the proxy is being generated when it should not be (for example, when the factory is being disposed). Furthermore the type...
The RunLevel subsystem can currently only handle one RunLevel grouping. An interesting extension of this idea is to allow RunLevels to be named, and then allow the RunLevelController to bring...
In an application design where there are a tree of ServiceLocator/Contexts eg: A -- B --- C An InjectionResolver or a JustInTimeInjectionResolver that is bound as a Singleton in the...
Hi, ``` Reportet also here: https://groups.google.com/forum/#!topic/bndtools-users/NuAmCd6sBaw https://github.com/jersey/jersey/issues/3588 ``` org.glassfish.hk2.osgi-resource-locator did not Activate properly. The bundle is in "Starting" status and did not Activate. and because of that Jersey could not...
ActiveDescriptor#getImplementationClass() currently returns a Class. It should return Class