Package org.infinispan.factories
Class NamedComponentFactory
java.lang.Object
org.infinispan.factories.AnyScopeComponentFactory
org.infinispan.factories.AbstractComponentFactory
org.infinispan.factories.NamedComponentFactory
- All Implemented Interfaces:
ComponentFactory
@Deprecated(forRemoval=true)
public abstract class NamedComponentFactory
extends AbstractComponentFactory
Deprecated, for removal: This API element is subject to removal in a future version.
A specialized type of component factory that knows how to create named components, identified with the
ComponentName
annotation on the classes requested in Inject
annotated methods.- Since:
- 4.0
- Author:
- Manik Surtani
-
Field Summary
Fields inherited from class org.infinispan.factories.AnyScopeComponentFactory
globalComponentRegistry, globalConfiguration, log
-
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionabstract <T> T
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a component.Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.infinispan.factories.AnyScopeComponentFactory
construct
-
Constructor Details
-
NamedComponentFactory
public NamedComponentFactory()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
construct
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
construct
in interfaceComponentFactory
- Overrides:
construct
in classAnyScopeComponentFactory
- Returns:
- Either a component instance or a
ComponentAlias
pointing to another component.
-
construct
Deprecated, for removal: This API element is subject to removal in a future version.Constructs a component.- Parameters:
componentType
- type of component- Returns:
- a component
-
AnyScopeComponentFactory.construct(String)
directly.