public class ApiApplicationRegistrationServiceImpl extends Object implements ApiApplicationRegistrationService
| Constructor and Description |
|---|
ApiApplicationRegistrationServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
register(RegistrationProfile registrationProfile)
This method is used to register api application
|
javax.ws.rs.core.Response |
register(String tenantDomain,
String applicationName)
This method is used to register an APIM application for tenant domain.
|
javax.ws.rs.core.Response |
unregister(String applicationName)
This method is used to unregister an API application.
|
public ApiApplicationRegistrationServiceImpl()
public javax.ws.rs.core.Response register(String tenantDomain, String applicationName)
ApiApplicationRegistrationServiceregister in interface ApiApplicationRegistrationServicepublic javax.ws.rs.core.Response register(RegistrationProfile registrationProfile)
ApiApplicationRegistrationServiceregister in interface ApiApplicationRegistrationServiceregistrationProfile - contains the necessary attributes that are needed in order to register an app.public javax.ws.rs.core.Response unregister(String applicationName)
ApiApplicationRegistrationServiceunregister in interface ApiApplicationRegistrationServiceapplicationName - name of the application that needs to be unregistered.Copyright © 2016 WSO2. All rights reserved.