public class ConfigDrivenComponentRegistry extends Object implements IComponentRegistry
| Constructor and Description |
|---|
ConfigDrivenComponentRegistry(IEngineConfig engineConfig)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends IComponent> |
createAndRegisterComponent(Class<T> componentType)
Creates the component and registers it in the registry.
|
<T extends IComponent> |
getComponent(Class<T> componentType)
Gets a specific type of component from the registry.
|
public ConfigDrivenComponentRegistry(IEngineConfig engineConfig)
engineConfig - public <T extends IComponent> T getComponent(Class<T> componentType) throws io.apiman.gateway.engine.beans.exceptions.ComponentNotFoundException
IComponentRegistrygetComponent in interface IComponentRegistryio.apiman.gateway.engine.beans.exceptions.ComponentNotFoundExceptionIComponentRegistry.getComponent(java.lang.Class)public <T extends IComponent> T createAndRegisterComponent(Class<T> componentType) throws io.apiman.gateway.engine.beans.exceptions.ComponentNotFoundException
componentType - io.apiman.gateway.engine.beans.exceptions.ComponentNotFoundExceptionCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.