| Constructor and Description |
|---|
InMemoryRegistry()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.apiman.gateway.engine.beans.ServiceContract |
getContract(io.apiman.gateway.engine.beans.ServiceRequest request)
Gets the
Contract to use based on information included in the inbound
service request. |
void |
publishService(io.apiman.gateway.engine.beans.Service service)
Publishes a new
Service into the registry. |
void |
registerApplication(io.apiman.gateway.engine.beans.Application application)
Registers a new
Application with the registry. |
void |
retireService(io.apiman.gateway.engine.beans.Service service)
Retires (removes) a
Service from the registry. |
void |
unregisterApplication(io.apiman.gateway.engine.beans.Application application)
Removes an
Application from the registry. |
public void publishService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException
IRegistryService into the registry.publishService in interface IRegistryservice - the service being publishedio.apiman.gateway.engine.beans.exceptions.PublishingExceptionIRegistry.publishService(io.apiman.gateway.engine.beans.Service)public void retireService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException
IRegistryService from the registry.retireService in interface IRegistryio.apiman.gateway.engine.beans.exceptions.PublishingExceptionIRegistry.retireService(io.apiman.gateway.engine.beans.Service)public void registerApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException
IRegistryApplication with the registry.registerApplication in interface IRegistryapplication - the application being registeredio.apiman.gateway.engine.beans.exceptions.RegistrationExceptionIRegistry.registerApplication(io.apiman.gateway.engine.beans.Application)public void unregisterApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException
IRegistryApplication from the registry.unregisterApplication in interface IRegistryapplication - the application to removeio.apiman.gateway.engine.beans.exceptions.RegistrationExceptionIRegistry.unregisterApplication(io.apiman.gateway.engine.beans.Application)public io.apiman.gateway.engine.beans.ServiceContract getContract(io.apiman.gateway.engine.beans.ServiceRequest request)
throws io.apiman.gateway.engine.beans.exceptions.InvalidContractException
IRegistryContract to use based on information included in the inbound
service request.getContract in interface IRegistryrequest - an inbound service requestio.apiman.gateway.engine.beans.exceptions.InvalidContractExceptionIRegistry.getContract(io.apiman.gateway.engine.beans.ServiceRequest)Copyright © 2014 JBoss, a division of Red Hat. All rights reserved.