| Constructor and Description |
|---|
EngineImpl(IRegistry registry,
IPluginRegistry pluginRegistry,
IComponentRegistry componentRegistry,
IConnectorFactory connectorFactory,
IPolicyFactory policyFactory,
IMetrics metrics)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IServiceRequestExecutor |
executor(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<IEngineResult> resultHandler)
Executes an asynchronous request for a managed service, with the provided
handler being passed an
EngineResultImpl with the status and result
of the policy chain invocation. |
IComponentRegistry |
getComponentRegistry() |
IConnectorFactory |
getConnectorFactory() |
IMetrics |
getMetrics() |
IPluginRegistry |
getPluginRegistry() |
IPolicyFactory |
getPolicyFactory() |
IRegistry |
getRegistry()
Returns the registry that can be used to publish/retire services and
register/unregister applications.
|
String |
getVersion() |
void |
setComponentRegistry(IComponentRegistry componentRegistry) |
void |
setConnectorFactory(IConnectorFactory connectorFactory) |
void |
setMetrics(IMetrics metrics) |
void |
setPluginRegistry(IPluginRegistry pluginRegistry) |
void |
setPolicyFactory(IPolicyFactory policyFactory) |
void |
setRegistry(IRegistry registry) |
public EngineImpl(IRegistry registry, IPluginRegistry pluginRegistry, IComponentRegistry componentRegistry, IConnectorFactory connectorFactory, IPolicyFactory policyFactory, IMetrics metrics)
registry - the registrypluginRegistry - the plugin registrycomponentRegistry - the component registryconnectorFactory - the connector factorypolicyFactory - the policy factorymetrics - the metrics implementationpublic String getVersion()
getVersion in interface IEngineIEngine.getVersion()public IServiceRequestExecutor executor(io.apiman.gateway.engine.beans.ServiceRequest request, IAsyncResultHandler<IEngineResult> resultHandler)
IEngineEngineResultImpl with the status and result
of the policy chain invocation.executor in interface IEnginerequest - a request for a managed serviceIEngine.executor(ServiceRequest, IAsyncResultHandler)public IRegistry getRegistry()
IEnginegetRegistry in interface IEngineIEngine.getRegistry()public void setRegistry(IRegistry registry)
registry - the registry to setpublic IConnectorFactory getConnectorFactory()
public void setConnectorFactory(IConnectorFactory connectorFactory)
connectorFactory - the connectorFactory to setpublic IPolicyFactory getPolicyFactory()
public void setPolicyFactory(IPolicyFactory policyFactory)
policyFactory - the policyFactory to setpublic IComponentRegistry getComponentRegistry()
public void setComponentRegistry(IComponentRegistry componentRegistry)
componentRegistry - the componentRegistry to setpublic IPluginRegistry getPluginRegistry()
public void setPluginRegistry(IPluginRegistry pluginRegistry)
pluginRegistry - the pluginRegistry to setpublic IMetrics getMetrics()
public void setMetrics(IMetrics metrics)
metrics - the metrics to setCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.