org.infinispan.factories
Class EmptyConstructorFactory

java.lang.Object
  extended by org.infinispan.factories.AbstractComponentFactory
      extended by org.infinispan.factories.EmptyConstructorFactory
All Implemented Interfaces:
AutoInstantiableFactory
Direct Known Subclasses:
MarshallerFactory

public class EmptyConstructorFactory
extends AbstractComponentFactory
implements AutoInstantiableFactory

Factory for building global-scope components which have default empty constructors

Since:
4.0
Author:
Manik Surtani, Galder Zamarreno

Field Summary
 
Fields inherited from class org.infinispan.factories.AbstractComponentFactory
globalComponentRegistry, globalConfiguration, log
 
Constructor Summary
EmptyConstructorFactory()
           
 
Method Summary
<T> T
construct(Class<T> componentType)
          Constructs a component.
 
Methods inherited from class org.infinispan.factories.AbstractComponentFactory
assertTypeConstructable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyConstructorFactory

public EmptyConstructorFactory()
Method Detail

construct

public <T> T construct(Class<T> componentType)
Description copied from class: AbstractComponentFactory
Constructs a component.

Specified by:
construct in class AbstractComponentFactory
Parameters:
componentType - type of component
Returns:
a component

-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.