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 java.lang.Object implements ComponentFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected GlobalComponentRegistry
globalComponentRegistry
protected GlobalConfiguration
globalConfiguration
protected static org.infinispan.util.logging.Log
log
-
Constructor Summary
Constructors Constructor Description AnyScopeComponentFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> T
construct(java.lang.Class<T> componentType)
Deprecated.Since 9.4, please overrideComponentFactory.construct(String)
instead.java.lang.Object
construct(java.lang.String name)
-
-
-
Field Detail
-
log
protected static final org.infinispan.util.logging.Log log
-
globalComponentRegistry
protected GlobalComponentRegistry globalComponentRegistry
-
globalConfiguration
protected GlobalConfiguration globalConfiguration
-
-
Method Detail
-
construct
public java.lang.Object construct(java.lang.String name)
- Specified by:
construct
in interfaceComponentFactory
- Returns:
- Either a component instance or a
ComponentAlias
pointing to another component.
-
construct
@Deprecated public <T> T construct(java.lang.Class<T> componentType)
Deprecated.Since 9.4, please overrideComponentFactory.construct(String)
instead.Constructs a component.- Parameters:
componentType
- type of component- Returns:
- a component
-
-