Package | Description |
---|---|
org.wso2.carbon.rest.api | |
org.wso2.carbon.rest.api.service |
Modifier and Type | Method and Description |
---|---|
org.apache.axis2.engine.AxisConfiguration |
ConfigHolder.getAxisConfiguration() |
org.wso2.carbon.registry.core.session.UserRegistry |
ConfigHolder.getConfigRegistry() |
static org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager |
RestApiAdminUtils.getMediationPersistenceManager()
Helper method to get the persistence manger
|
org.apache.synapse.config.SynapseConfiguration |
ConfigHolder.getSynapseConfiguration() |
static org.apache.synapse.config.SynapseConfiguration |
RestApiAdminUtils.getSynapseConfiguration()
Override the parent's getSynapseconfig() method to retrieve the Synapse
configuration from the relevant axis configuration
|
static org.apache.synapse.core.SynapseEnvironment |
RestApiAdminUtils.getSynapseEnvironment()
Helper method to retrieve the Synapse environment from the relevant axis configuration
|
static void |
RestApiAdminUtils.persistApi(org.apache.synapse.rest.API api) |
Modifier and Type | Method and Description |
---|---|
boolean |
RestApiAdmin.addApi(APIData apiData) |
boolean |
RestApiAdminService.addApi(APIData apiData)
Adds an API with the metadata passed in.
|
boolean |
RestApiAdminService.addApiForTenant(APIData apiData,
String tenantDomain)
Adds an API with the metadata passed in.
|
boolean |
RestApiAdmin.addApiForTenant(String apiData,
String tenantDomain)
Set the tenant domain when a publisher publishes his API in MT mode.
|
boolean |
RestApiAdminService.addApiForTenant(String apiData,
String tenantDomain)
Sets the tenant domain when a publisher publishes his API in MT mode.
|
boolean |
RestApiAdmin.addApiFromString(String apiData) |
boolean |
RestApiAdminService.addApiFromString(String apiData)
Adds an API with the configuration passed in, as a string.
|
void |
RestApiAdmin.deleteAllApi()
Delete All API in the synapse configuration
|
boolean |
RestApiAdmin.deleteApi(String apiName) |
boolean |
RestApiAdminService.deleteApi(String apiName)
Deletes an API that carries the name that is passed in.
|
boolean |
RestApiAdmin.deleteApiForTenant(String apiName,
String tenantDomain)
Set the tenant domain when a publisher deletes his API in MT mode.
|
boolean |
RestApiAdminService.deleteApiForTenant(String apiName,
String tenantDomain)
Deletes an API that exists in the space of a given tenant, carrying the name passed in.
|
void |
RestApiAdmin.deleteSelectedApi(String[] apiNames)
Delete Selected API
|
String |
RestApiAdmin.disableStatistics(String apiName) |
String |
RestApiAdmin.disableTracing(String apiName) |
String |
RestApiAdmin.enableStatistics(String apiName) |
String |
RestApiAdmin.enableTracing(String apiName) |
APIData |
RestApiAdminService.getApiByName(String apiName)
Retrieves API configuration mapped into the name passed in.
|
APIData |
RestApiAdmin.getApiForTenant(String apiName,
String tenantDomain)
Set the tenant domain when a publisher tries to retrieve API his API in MT mode.
|
APIData |
RestApiAdminService.getApiForTenant(String apiName,
String tenantDomain)
Sets the tenant domain when a publisher tries to retrieve API his API in MT mode.
|
protected Lock |
RestApiAdminService.getLock() |
String |
RestApiAdmin.getServerContext() |
boolean |
RestApiAdmin.updateApi(String apiName,
APIData apiData) |
boolean |
RestApiAdmin.updateApiForTenant(String apiName,
String apiData,
String tenantDomain)
Set the tenant domain when a publisher updates his API in MT mode.
|
boolean |
RestApiAdminService.updateApiForTenant(String apiName,
String apiData,
String tenantDomain)
Set the tenant domain when a publisher updates his API in MT mode.
|
boolean |
RestApiAdmin.updateApiFromString(String apiName,
String apiData) |
boolean |
RestApiAdminService.updateApiFromString(String apiName,
String apiData)
Updates a given API configuration passed in as a string.
|
Copyright © 2017 WSO2. All rights reserved.