org.jboss.cache.factories
Class RuntimeConfigAwareFactory

java.lang.Object
  extended by org.jboss.cache.factories.ComponentFactory
      extended by org.jboss.cache.factories.EmptyConstructorFactory
          extended by org.jboss.cache.factories.RuntimeConfigAwareFactory

public class RuntimeConfigAwareFactory
extends EmptyConstructorFactory

An extension of the EmptyConstructorFactory that places a component in the RuntimeConfig after creating it.

Since:
2.1.0
Author:
Manik Surtani (manik@jboss.org)

Field Summary
 
Fields inherited from class org.jboss.cache.factories.ComponentFactory
componentRegistry, configuration, log
 
Constructor Summary
RuntimeConfigAwareFactory()
           
 
Method Summary
protected
<T> T
construct(Class<T> componentType)
          Constructs a component.
 
Methods inherited from class org.jboss.cache.factories.ComponentFactory
assertTypeConstructable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeConfigAwareFactory

public RuntimeConfigAwareFactory()
Method Detail

construct

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

Overrides:
construct in class EmptyConstructorFactory
Parameters:
componentType - type of component
Returns:
a component


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