Class ServiceReferenceHolder
- java.lang.Object
-
- org.wso2.carbon.apimgt.impl.internal.ServiceReferenceHolder
-
public class ServiceReferenceHolder extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAPIDefinitionParser(String type, org.wso2.carbon.apimgt.api.APIDefinition apiDefinition)
void
addExternalEnvironment(String type, ExternalEnvironment externalEnvironment)
void
addExternalGatewayDeployer(String type, ExternalGatewayDeployer deployer)
void
addGatewayArtifactGenerator(GatewayArtifactGenerator gatewayArtifactGenerator)
void
addJWTTransformer(String issuer, org.wso2.carbon.apimgt.common.gateway.jwttransformer.JWTTransformer jwtTransformer)
void
addKeyManagerConnectorConfiguration(String type, org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration keyManagerConnectorConfiguration)
AccessTokenGenerator
getAccessTokenGenerator()
Map<String,org.wso2.carbon.apimgt.api.APIDefinition>
getApiDefinitionMap()
APIManagerConfigurationService
getAPIManagerConfigurationService()
APIMConfigService
getApimConfigService()
ArtifactSaver
getArtifactSaver()
static org.wso2.carbon.utils.ConfigurationContextService
getContextService()
org.wso2.carbon.apimgt.eventing.EventPublisherFactory
getEventPublisherFactory()
ExternalEnvironment
getExternalEnvironment(String type)
ExternalGatewayDeployer
getExternalGatewayDeployer(String type)
GatewayArtifactGenerator
getGatewayArtifactGenerator(String type)
Set<String>
getGatewayArtifactGeneratorTypes()
ImportExportAPI
getImportExportService()
org.wso2.carbon.registry.indexing.service.TenantIndexingLoader
getIndexLoaderService()
static ServiceReferenceHolder
getInstance()
org.wso2.carbon.apimgt.common.gateway.jwttransformer.JWTTransformer
getJWTTransformer(String issuer)
KeyManagerConfigurationService
getKeyManagerConfigurationService()
org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration
getKeyManagerConnectorConfiguration(String type)
Map<String,org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration>
getKeyManagerConnectorConfigurations()
KeyStore
getListenerTrustStore()
Map<String,List<Notifier>>
getNotifiersMap()
org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration
getOauthServerConfiguration()
org.wso2.carbon.apimgt.api.OrganizationResolver
getOrganizationResolver()
org.wso2.carbon.event.output.adapter.core.OutputEventAdapterService
getOutputEventAdapterService()
org.wso2.carbon.user.core.service.RealmService
getRealmService()
org.wso2.carbon.registry.core.service.RegistryService
getRegistryService()
org.wso2.carbon.apimgt.api.quotalimiter.ResourceQuotaLimiter
getResourceQuotaLimiter()
KeyStore
getTrustStore()
org.wso2.carbon.apimgt.api.model.WorkflowTaskService
getWorkflowTaskService()
void
removeAPIDefinitionParser(String type)
void
removeExternalEnvironments(String type)
void
removeExternalGatewayDeployer(String type)
void
removeGatewayArtifactGenerator(GatewayArtifactGenerator gatewayArtifactGenerator)
void
removeJWTTransformer(String issuer)
void
removeKeyManagerConnectorConfiguration(String type)
void
setAccessTokenGenerator(AccessTokenGenerator accessTokenGenerator)
void
setAPIManagerConfigurationService(APIManagerConfigurationService amConfigurationService)
void
setAPIMConfigService(APIMConfigService apimConfigService)
void
setArtifactSaver(ArtifactSaver artifactSaver)
static void
setContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
void
setEventPublisherFactory(org.wso2.carbon.apimgt.eventing.EventPublisherFactory eventPublisherFactory)
void
setImportExportAPI(ImportExportAPI importExportService)
void
setIndexLoaderService(org.wso2.carbon.registry.indexing.service.TenantIndexingLoader indexLoader)
void
setKeyManagerConfigurationService(KeyManagerConfigurationService keyManagerConfigurationService)
void
setListenerTrustStore(KeyStore listenerTrustStore)
void
setOauthServerConfiguration(org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration oauthServerConfiguration)
void
setOrganizationResolver(org.wso2.carbon.apimgt.api.OrganizationResolver organizationResolver)
void
setOutputEventAdapterService(org.wso2.carbon.event.output.adapter.core.OutputEventAdapterService outputEventAdapterService)
void
setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
void
setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
void
setResourceQuotaLimiter(org.wso2.carbon.apimgt.api.quotalimiter.ResourceQuotaLimiter resourceQuotaLimiter)
void
setTrustStore(KeyStore trustStore)
void
setWorkflowTaskService(org.wso2.carbon.apimgt.api.model.WorkflowTaskService workflowTaskService)
-
-
-
Method Detail
-
getContextService
public static org.wso2.carbon.utils.ConfigurationContextService getContextService()
-
setContextService
public static void setContextService(org.wso2.carbon.utils.ConfigurationContextService contextService)
-
getInstance
public static ServiceReferenceHolder getInstance()
-
getRegistryService
public org.wso2.carbon.registry.core.service.RegistryService getRegistryService()
-
setRegistryService
public void setRegistryService(org.wso2.carbon.registry.core.service.RegistryService registryService)
-
getAPIManagerConfigurationService
public APIManagerConfigurationService getAPIManagerConfigurationService()
-
setAPIManagerConfigurationService
public void setAPIManagerConfigurationService(APIManagerConfigurationService amConfigurationService)
-
getRealmService
public org.wso2.carbon.user.core.service.RealmService getRealmService()
-
setRealmService
public void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
-
getIndexLoaderService
public org.wso2.carbon.registry.indexing.service.TenantIndexingLoader getIndexLoaderService()
-
setIndexLoaderService
public void setIndexLoaderService(org.wso2.carbon.registry.indexing.service.TenantIndexingLoader indexLoader)
-
getOutputEventAdapterService
public org.wso2.carbon.event.output.adapter.core.OutputEventAdapterService getOutputEventAdapterService()
-
setOutputEventAdapterService
public void setOutputEventAdapterService(org.wso2.carbon.event.output.adapter.core.OutputEventAdapterService outputEventAdapterService)
-
getTrustStore
public KeyStore getTrustStore()
-
setTrustStore
public void setTrustStore(KeyStore trustStore)
-
getAccessTokenGenerator
public AccessTokenGenerator getAccessTokenGenerator()
-
setAccessTokenGenerator
public void setAccessTokenGenerator(AccessTokenGenerator accessTokenGenerator)
-
getKeyManagerConfigurationService
public KeyManagerConfigurationService getKeyManagerConfigurationService()
-
setKeyManagerConfigurationService
public void setKeyManagerConfigurationService(KeyManagerConfigurationService keyManagerConfigurationService)
-
getOauthServerConfiguration
public org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration getOauthServerConfiguration()
-
setOauthServerConfiguration
public void setOauthServerConfiguration(org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration oauthServerConfiguration)
-
addJWTTransformer
public void addJWTTransformer(String issuer, org.wso2.carbon.apimgt.common.gateway.jwttransformer.JWTTransformer jwtTransformer)
-
removeJWTTransformer
public void removeJWTTransformer(String issuer)
-
getJWTTransformer
public org.wso2.carbon.apimgt.common.gateway.jwttransformer.JWTTransformer getJWTTransformer(String issuer)
-
addKeyManagerConnectorConfiguration
public void addKeyManagerConnectorConfiguration(String type, org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration keyManagerConnectorConfiguration)
-
removeKeyManagerConnectorConfiguration
public void removeKeyManagerConnectorConfiguration(String type)
-
getKeyManagerConnectorConfiguration
public org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration getKeyManagerConnectorConfiguration(String type)
-
getKeyManagerConnectorConfigurations
public Map<String,org.wso2.carbon.apimgt.api.model.KeyManagerConnectorConfiguration> getKeyManagerConnectorConfigurations()
-
getArtifactSaver
public ArtifactSaver getArtifactSaver()
-
setArtifactSaver
public void setArtifactSaver(ArtifactSaver artifactSaver)
-
setImportExportAPI
public void setImportExportAPI(ImportExportAPI importExportService)
-
getImportExportService
public ImportExportAPI getImportExportService()
-
addGatewayArtifactGenerator
public void addGatewayArtifactGenerator(GatewayArtifactGenerator gatewayArtifactGenerator)
-
removeGatewayArtifactGenerator
public void removeGatewayArtifactGenerator(GatewayArtifactGenerator gatewayArtifactGenerator)
-
getGatewayArtifactGenerator
public GatewayArtifactGenerator getGatewayArtifactGenerator(String type)
-
getListenerTrustStore
public KeyStore getListenerTrustStore()
-
setListenerTrustStore
public void setListenerTrustStore(KeyStore listenerTrustStore)
-
getOrganizationResolver
public org.wso2.carbon.apimgt.api.OrganizationResolver getOrganizationResolver()
-
setOrganizationResolver
public void setOrganizationResolver(org.wso2.carbon.apimgt.api.OrganizationResolver organizationResolver)
-
getResourceQuotaLimiter
public org.wso2.carbon.apimgt.api.quotalimiter.ResourceQuotaLimiter getResourceQuotaLimiter()
-
setResourceQuotaLimiter
public void setResourceQuotaLimiter(org.wso2.carbon.apimgt.api.quotalimiter.ResourceQuotaLimiter resourceQuotaLimiter)
-
getEventPublisherFactory
public org.wso2.carbon.apimgt.eventing.EventPublisherFactory getEventPublisherFactory()
-
setEventPublisherFactory
public void setEventPublisherFactory(org.wso2.carbon.apimgt.eventing.EventPublisherFactory eventPublisherFactory)
-
setAPIMConfigService
public void setAPIMConfigService(APIMConfigService apimConfigService)
-
getApimConfigService
public APIMConfigService getApimConfigService()
-
addExternalGatewayDeployer
public void addExternalGatewayDeployer(String type, ExternalGatewayDeployer deployer)
-
removeExternalGatewayDeployer
public void removeExternalGatewayDeployer(String type)
-
getExternalGatewayDeployer
public ExternalGatewayDeployer getExternalGatewayDeployer(String type)
-
addExternalEnvironment
public void addExternalEnvironment(String type, ExternalEnvironment externalEnvironment)
-
getExternalEnvironment
public ExternalEnvironment getExternalEnvironment(String type)
-
removeExternalEnvironments
public void removeExternalEnvironments(String type)
-
addAPIDefinitionParser
public void addAPIDefinitionParser(String type, org.wso2.carbon.apimgt.api.APIDefinition apiDefinition)
-
getApiDefinitionMap
public Map<String,org.wso2.carbon.apimgt.api.APIDefinition> getApiDefinitionMap()
-
removeAPIDefinitionParser
public void removeAPIDefinitionParser(String type)
-
getWorkflowTaskService
public org.wso2.carbon.apimgt.api.model.WorkflowTaskService getWorkflowTaskService()
-
setWorkflowTaskService
public void setWorkflowTaskService(org.wso2.carbon.apimgt.api.model.WorkflowTaskService workflowTaskService)
-
-