public Object createInstance ( StoreConfiguration storeConfiguration ) { for ( CacheStoreFactory factory : factories ) { Object instance = factory . createInstance ( storeConfiguration ) ; if ( instance != null ) { return instance ; } } throw log . unableToInstantiateClass ( storeConfiguration . getClass ( ) ) ; }
Creates new Object based on configuration .