Package org.infinispan.factories
Class AnyScopeComponentFactory
- java.lang.Object
-
- org.infinispan.factories.AnyScopeComponentFactory
-
- All Implemented Interfaces:
ComponentFactory
- Direct Known Subclasses:
AbstractComponentFactory,AbstractNamedCacheComponentFactory
public class AnyScopeComponentFactory extends Object implements ComponentFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected GlobalComponentRegistryglobalComponentRegistryprotected GlobalConfigurationglobalConfigurationprotected static Loglog
-
Constructor Summary
Constructors Constructor Description AnyScopeComponentFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> Tconstruct(Class<T> componentType)Deprecated.Since 9.4, please overrideComponentFactory.construct(String)instead.Objectconstruct(String name)
-
-
-
Field Detail
-
log
protected static final Log log
-
globalComponentRegistry
protected GlobalComponentRegistry globalComponentRegistry
-
globalConfiguration
protected GlobalConfiguration globalConfiguration
-
-
Method Detail
-
construct
public Object construct(String name)
- Specified by:
constructin interfaceComponentFactory- Returns:
- Either a component instance or a
ComponentAliaspointing to another component.
-
construct
@Deprecated public <T> T construct(Class<T> componentType)
Deprecated.Since 9.4, please overrideComponentFactory.construct(String)instead.Constructs a component.- Parameters:
componentType- type of component- Returns:
- a component
-
-