Fixing ApplicationConfig

From: Bill Burke <>
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 Burke
JBoss, a division of Red Hat