sipc,
ComponentScope.Singleton,
abstractResource);
try {
this.resource = rcc.construct(null);
rci.inject(null, resource);
} catch (InvocationTargetException ex) {
throw new ContainerException("Unable to create resource", ex);
} catch (InstantiationException ex) {
throw new ContainerException("Unable to create resource", ex);