This issue has been fixed in following two svn commits:
This involves abstracting out the Jersey container aspect by introducing an object called JerseyContainer.
We also allow subclass to provide SubjectFactoryBinder which can retrieve the subject from appropriate
protocol specific object.
Ran QuickLook as well as some closed source admin tests as per recommendation of Martin Mares.
Code reviewed by Martin Mares.
Thanks to Jakub for providing the patch to inject Subject in CommandResource.
This changeset involves abstracting out the ReST resource provider aspect by
introducing an object called RestResourceProvider. Code out of RestCommandAdapter,
RestManagementAdapter and RestMonitoringAdapter have been moved to implementations of
RestResourceProviders called RestCommandResourceProvider, RestManagementResourceProvider
and RestMonitoringResourceProvider respectively.
RestAdapter uses a bridge pattern where RestResourceProvider is the delegate.
This allows us to evolve RestAdapter independently from RestResourceProvider.
Tests run: QuickLook and closed source tests that exercise ReST interfaces.
Because of a bug in git/svn bridge, my comment didn't appear properly in svn.