Package org.infinispan.factories
Class EmptyConstructorNamedCacheFactory
- java.lang.Object
-
- org.infinispan.factories.AbstractComponentFactory
-
- org.infinispan.factories.AbstractNamedCacheComponentFactory
-
- org.infinispan.factories.EmptyConstructorNamedCacheFactory
-
- All Implemented Interfaces:
AutoInstantiableFactory,ComponentFactory
public class EmptyConstructorNamedCacheFactory extends AbstractNamedCacheComponentFactory implements AutoInstantiableFactory
Simple factory that just uses reflection and an empty constructor of the component type.- Since:
- 4.0
- Author:
- Manik Surtani (manik@jboss.org), Pedro Ruivo
-
-
Field Summary
-
Fields inherited from class org.infinispan.factories.AbstractNamedCacheComponentFactory
basicComponentRegistry, componentRegistry, configuration
-
Fields inherited from class org.infinispan.factories.AbstractComponentFactory
globalComponentRegistry, globalConfiguration, log
-
-
Constructor Summary
Constructors Constructor Description EmptyConstructorNamedCacheFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectconstruct(String componentName)-
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable, construct
-
-
-
-
Method Detail
-
construct
public Object construct(String componentName)
- Specified by:
constructin interfaceComponentFactory- Overrides:
constructin classAbstractComponentFactory- Returns:
- Either a component instance or a
ComponentAliaspointing to another component.
-
-