try {
ComponentInjector<ResourceComponentProviderFactory> ci =
new ComponentInjector(ipc, providerFactoryClass);
ComponentConstructor<ResourceComponentProviderFactory> cc =
new ComponentConstructor(ipc, providerFactoryClass, ci);
return cc.getInstance();
} catch (Exception ex) {
throw new ContainerException("Unable to create resource component provider", ex);
}
}