All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.infinispan.factories.AbstractNamedCacheComponentFactory Maven / Gradle / Ivy

There is a newer version: 9.1.7.Final
Show newest version
package org.infinispan.factories;

import org.infinispan.configuration.cache.Configuration;
import org.infinispan.factories.annotations.Inject;
import org.infinispan.factories.scopes.Scope;
import org.infinispan.factories.scopes.Scopes;

/**
 * A component factory for creating components scoped per-cache.
 *
 * @author Manik Surtani
 * @since 4.0
 */
@Scope(Scopes.NAMED_CACHE)
public abstract class AbstractNamedCacheComponentFactory extends AbstractComponentFactory {
   protected Configuration configuration;
   protected ComponentRegistry componentRegistry;

   @Inject
   private void injectGlobalDependencies(Configuration configuration, ComponentRegistry componentRegistry) {
      this.componentRegistry = componentRegistry;
      this.configuration = configuration;
   }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy