dev@jsr311.java.net

Fixing ApplicationConfig

From: Bill Burke <bburke_at_redhat.com>
Date: Fri, 06 Jun 2008 19:19:41 -0400

Some thoughts on expanding ApplicationConfig:

List<Object> getResourceSingletons();
List<Object> getProviderSingletons();

This would allow the user to preconfigure provider and resource instances.

For @Context annotation fields in either of these singletons, a proxy
could be injected.

This sort of thing would allow us to ditch things like ContextResolver,
which IMO, only exist to hack in configuration.

Bill


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com