Re: JSR311: _at_Singleton

From: Bill Burke <>
Date: Tue, 10 Jun 2008 10:54:02 -0400

Marc Hadley wrote:
> On Jun 9, 2008, at 4:48 PM, Marc Hadley wrote:
>>>>> Can we get some support for singletons in ApplicationConfig then?
>>>>> List<Object> getResourceInstances();
>>>>> List<Object> getProviderInstances();
> Another issue is that the resources and providers couldn't use
> constructor parameters which we currently allow.

I was asking this as an addition not a replacement for the class-based
ones. Besides, for singletons, constructor/field/property injection
isn't usable beyond @Context.

Bill Burke
JBoss, a division of Red Hat