org.jboss.cache.factories
Class EmptyConstructorFactory
java.lang.Object
org.jboss.cache.factories.ComponentFactory
org.jboss.cache.factories.EmptyConstructorFactory
- Direct Known Subclasses:
- BuddyManagerFactory, LockManagerFactory, ReplicationQueueFactory, RuntimeConfigAwareFactory
public class EmptyConstructorFactory
- extends ComponentFactory
Simple factory that just uses reflection and an empty constructor of the component type.
- Since:
- 2.1.0
- Author:
- Manik Surtani (manik AT jboss DOT org)
Method Summary |
protected
|
construct(Class<T> componentType)
Constructs a component. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmptyConstructorFactory
public EmptyConstructorFactory()
construct
protected <T> T construct(Class<T> componentType)
- Description copied from class:
ComponentFactory
- Constructs a component.
- Specified by:
construct
in class ComponentFactory
- Parameters:
componentType
- type of component
- Returns:
- a component
Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.