public interface IGatewayLink
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close down the gateway link when it's no longer needed.
|
io.apiman.gateway.engine.beans.ServiceEndpoint |
getServiceEndpoint(String organizationId,
String serviceId,
String version)
Gets the service endpoint from the gateway.
|
void |
publishService(io.apiman.gateway.engine.beans.Service service)
Publishes a new
Service. |
void |
registerApplication(io.apiman.gateway.engine.beans.Application application)
Registers a new
Application. |
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. |
void publishService(io.apiman.gateway.engine.beans.Service service)
throws io.apiman.gateway.engine.beans.exceptions.PublishingException
Service.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 - the service to retire/removeio.apiman.gateway.engine.beans.exceptions.PublishingExceptionvoid registerApplication(io.apiman.gateway.engine.beans.Application application)
throws io.apiman.gateway.engine.beans.exceptions.RegistrationException
Application. An application is ultimately a collection of
contracts to managed services.application - the application being registeredio.apiman.gateway.engine.beans.exceptions.PublishingExceptionio.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.RegistrationExceptionio.apiman.gateway.engine.beans.ServiceEndpoint getServiceEndpoint(String organizationId, String serviceId, String version) throws io.apiman.gateway.api.rest.contract.exceptions.NotAuthorizedException
organizationId - serviceId - version - io.apiman.gateway.api.rest.contract.exceptions.NotAuthorizedExceptionvoid close()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.