Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.factories
Class TestDelayFactory

java.lang.Object
  extended by org.infinispan.factories.AbstractComponentFactory
      extended by 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

Nested Class Summary
static class TestDelayFactory.Component
           
 
Field Summary
 
Fields inherited from class org.infinispan.factories.AbstractComponentFactory
globalComponentRegistry, globalConfiguration
 
Constructor Summary
TestDelayFactory()
           
 
Method Summary
<T> T
construct(Class<T> componentType)
          Constructs a component.
 void inject(GlobalConfiguration gc)
           
 
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

TestDelayFactory

public TestDelayFactory()
Method Detail

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

Infinispan Distribution 5.2.6.Final-redhat-2

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