public interface IRegistry
| 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. |
io.apiman.gateway.engine.beans.ServiceContract getContract(io.apiman.gateway.engine.beans.ServiceRequest request)
throws io.apiman.gateway.engine.beans.exceptions.InvalidContractException
Contract to use based on information included in the inbound
service request.request - an inbound service requestio.apiman.gateway.engine.beans.exceptions.InvalidContractExceptionvoid publishService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException
Service into the registry.service - the service being publishedio.apiman.gateway.engine.beans.exceptions.PublishingExceptionvoid retireService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException
Service from the registry.service - io.apiman.gateway.engine.beans.exceptions.PublishingExceptionvoid registerApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException
Application with the registry.application - the application being registeredio.apiman.gateway.engine.beans.exceptions.RegistrationExceptionvoid unregisterApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException
Application from the registry.application - the application to removeio.apiman.gateway.engine.beans.exceptions.RegistrationExceptionCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.