glassfish-hk2 icon indicating copy to clipboard operation
glassfish-hk2 copied to clipboard

Dynamic dependency injection framework

Results 91 glassfish-hk2 issues
Sort by recently updated
recently updated
newest added

There does not appear to be a way to place a metadata string inside the Service annotation in such a way that multiple values for a given key will be...

Priority: Major
Type: Bug

Version 2.4.0-b34 has undeploy problems in Apache Tomcat: ``` Nov 21, 2015 8:52:29 PM org.apache.catalina.startup.HostConfigcheckResources INFO: Undeploying context [/app] Nov 21, 2015 8:52:30 PM org.apache.catalina.startup.ExpandWar deleteDir SEVERE: [C:\tomcat\server\webapps\app\WEB-INF\lib] could not...

Priority: Major
Type: Bug

I attempted to create a Factory implementation that inherited from an abstract class. The inhabitant generator produced a locator file where scopes were out of sync. The only solution seemed...

Priority: Major
Type: Bug
factory

Given two run level services that implement the same contract: ``` @Contract interface ServiceContract { } @Service @RunLevel(5) class PrimaryService implements ServiceContract { } @Service @RunLevel(10) class BackupService implements ServiceContract...

Type: Bug
Priority: Minor

Consider the following: ``` public class { @Inject private ServiceGenerator generator; @Inject private AGeneratedService service; ... } ``` If the ServiceGenerator is going to add AGeneratedService to this ServiceLocator, then...

Priority: Major
Type: Improvement

Currently enabling or adding new features to HK2 is not flexible or dynamic. HK2 should emulate Jersey which seems to have the right idea with their [Feature](https://jersey.java.net/apidocs/2.14/jersey/javax/ws/rs/core/Feature.html) and [AutoDiscoverable](https://jersey.java.net/documentation/2.14/user-guide.html#deployment.autodiscoverable) functionality....

Priority: Major
Type: Improvement

The test testUnboundServiceNoLongerGetsNotified hangs on one in twenty runs (approx) in one of our Hudsons. The hang results in the build failing after about 30 minutes

Priority: Major
Type: Bug

The new HK2 event system introduced all sorts of new possibilities. Deprecate and phaseout the existing listeners (RunLevelListener, ServiceLocatorListener, InstanceLifecycleListener, etc) in favor of the new event system. #### Affected...

Priority: Major
Type: Improvement

I'd like to add additional metadata to a service via annotation. The current implementation of @Metadata requires that an annotation be a qualifier or scope annotation in order to add...

Priority: Major
Type: New Feature

There has been a request for "fail-fast" behavior from HK2\. Since HK2 is a dynamic system, it tends to defer analysis of injection points until the latest possible moment. This...

Priority: Major
Type: New Feature