// Set up the resource component provider factory
this.rcpFactory = (_provider == null)
? new ResourceFactory(this.resourceConfig, this.injectableFactory)
: new IoCResourceFactory(this.resourceConfig, this.injectableFactory, _provider);
this.resourceContext = new ResourceContext() {
public <T> T getResource(Class<T> c) {
final ResourceClass rc = getResourceClass(c);
if (rc == null) {
LOGGER.severe("No resource class found for class " + c.getName());
throw new ContainerException("No resource class found for class " + c.getName());