public void init( ICdfBeanFactory factory ) throws InitializationException {
this.factory = factory;
pentahoHibernateConfigurations = new PentahoHibernanteConfigurations();
cdfApipathProvider = new CdfApiPathProvider( getPluginEnv().getUrlProvider() );
cdfHeadersProvider = new CdfHeadersProvider();
if ( factory.containsBean( IResourceLoader.class.getSimpleName() ) ) {
resourceLoader = (IResourceLoader) factory.getBean( IResourceLoader.class.getSimpleName() );
}