org.infinispan.factories
Class TestDelayFactory
java.lang.Object
org.infinispan.factories.AbstractComponentFactory
org.infinispan.factories.TestDelayFactory
- All Implemented Interfaces:
- AutoInstantiableFactory
public class TestDelayFactory
- extends AbstractComponentFactory
- implements AutoInstantiableFactory
Internal class, only used for testing.
It has to reside in the production source tree because the component metadata persister doesn't parse
test classes.
- Since:
- 5.2
- Author:
- Dan Berindei
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestDelayFactory
public TestDelayFactory()
inject
public void inject(GlobalConfiguration gc)
throws InterruptedException
- Throws:
InterruptedException
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 © 2013 JBoss, a division of Red Hat. All Rights Reserved.