public abstract class AbstractComponentFactory extends Object
InternalCacheFactory
is a special subclass of this, which bootstraps the construction of other
components. When this class is loaded, it maintains a static list of known default factories for known components,
which it then delegates to, when actually performing the construction.
Inject
,
ComponentRegistry
Modifier and Type | Field and Description |
---|---|
protected GlobalComponentRegistry |
globalComponentRegistry |
protected GlobalConfiguration |
globalConfiguration |
Constructor and Description |
---|
AbstractComponentFactory()
Constructs a new ComponentFactory.
|
Modifier and Type | Method and Description |
---|---|
protected void |
assertTypeConstructable(Class<?> requestedType,
Class<?>... ableToConstruct) |
abstract <T> T |
construct(Class<T> componentType)
Constructs a component.
|
protected GlobalComponentRegistry globalComponentRegistry
protected GlobalConfiguration globalConfiguration
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.