| Constructor and Description |
|---|
SecureRegistryWrapper(IRegistry delegate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decryptPolicies(List<io.apiman.gateway.engine.beans.Policy> policies) |
protected void |
encryptPolicies(List<io.apiman.gateway.engine.beans.Policy> policies) |
void |
getContract(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<io.apiman.gateway.engine.beans.ServiceContract> handler)
Gets the
Contract to use based on information included in the inbound
service request. |
void |
getService(String organizationId,
String serviceId,
String serviceVersion,
IAsyncResultHandler<io.apiman.gateway.engine.beans.Service> handler)
Gets a service by its service coordinates.
|
void |
publishService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler)
Publishes a new
Service into the registry. |
void |
registerApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler)
Registers a new
Application with the registry. |
void |
retireService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler)
Retires (removes) a
Service from the registry. |
void |
unregisterApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler)
Removes an
Application from the registry. |
public SecureRegistryWrapper(IRegistry delegate)
delegate - the delegated Registrypublic void publishService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler)
IRegistryService into the registry.publishService in interface IRegistryservice - the service being publishedhandler - the result handlerIRegistry.publishService(io.apiman.gateway.engine.beans.Service, io.apiman.gateway.engine.async.IAsyncResultHandler)public void registerApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler)
IRegistryApplication with the registry.registerApplication in interface IRegistryapplication - the application being registeredhandler - the result handlerIRegistry.registerApplication(io.apiman.gateway.engine.beans.Application, io.apiman.gateway.engine.async.IAsyncResultHandler)public void retireService(io.apiman.gateway.engine.beans.Service service,
IAsyncResultHandler<Void> handler)
IRegistryService from the registry.retireService in interface IRegistryservice - the servicehandler - the result handlerIRegistry.retireService(io.apiman.gateway.engine.beans.Service, io.apiman.gateway.engine.async.IAsyncResultHandler)public void unregisterApplication(io.apiman.gateway.engine.beans.Application application,
IAsyncResultHandler<Void> handler)
IRegistryApplication from the registry.unregisterApplication in interface IRegistryapplication - the application to removehandler - the result handlerIRegistry.unregisterApplication(io.apiman.gateway.engine.beans.Application, io.apiman.gateway.engine.async.IAsyncResultHandler)public void getService(String organizationId, String serviceId, String serviceVersion, IAsyncResultHandler<io.apiman.gateway.engine.beans.Service> handler)
IRegistrygetService in interface IRegistryorganizationId - the org idserviceId - the service idserviceVersion - the service versionhandler - the result handlerIRegistry.getService(java.lang.String, java.lang.String, java.lang.String, io.apiman.gateway.engine.async.IAsyncResultHandler)public void getContract(io.apiman.gateway.engine.beans.ServiceRequest request,
IAsyncResultHandler<io.apiman.gateway.engine.beans.ServiceContract> handler)
IRegistryContract to use based on information included in the inbound
service request.getContract in interface IRegistryrequest - an inbound service requesthandler - the result handlerIRegistry.getContract(io.apiman.gateway.engine.beans.ServiceRequest, io.apiman.gateway.engine.async.IAsyncResultHandler)protected void encryptPolicies(List<io.apiman.gateway.engine.beans.Policy> policies)
policies - protected void decryptPolicies(List<io.apiman.gateway.engine.beans.Policy> policies)
policies - Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.