Class AppsCommonDataHolder

java.lang.Object
org.wso2.identity.apps.common.internal.AppsCommonDataHolder

public class AppsCommonDataHolder extends Object
This class holds the service instances consumed by the common component.
  • Method Details

    • getInstance

      public static AppsCommonDataHolder getInstance()
    • getApplicationManagementService

      public org.wso2.carbon.identity.application.mgt.ApplicationManagementService getApplicationManagementService()
    • setApplicationManagementService

      public void setApplicationManagementService(org.wso2.carbon.identity.application.mgt.ApplicationManagementService applicationManagementService)
    • getOAuthAdminService

      public org.wso2.carbon.identity.oauth.OAuthAdminServiceImpl getOAuthAdminService()
    • setOAuthAdminService

      public void setOAuthAdminService(org.wso2.carbon.identity.oauth.OAuthAdminServiceImpl oAuthAdminService)
    • getSystemAppConsumerKeys

      public Set<String> getSystemAppConsumerKeys()
    • setSystemAppConsumerKeys

      public void setSystemAppConsumerKeys(Set<String> systemAppConsumerKeys)
      Set system app consumer keys.
      Parameters:
      systemAppConsumerKeys - System app consumer keys.
    • getSystemApplications

      public Set<String> getSystemApplications()
    • setSystemApplications

      public void setSystemApplications(Set<String> systemApplications)
      Set system applications.
      Parameters:
      systemApplications - System applications.
    • isOrganizationManagementEnabled

      public boolean isOrganizationManagementEnabled()
      Get is organization management enabled.
      Returns:
      True if organization management is enabled.
    • setOrganizationManagementEnabled

      public void setOrganizationManagementEnabled(org.wso2.carbon.identity.organization.management.service.OrganizationManagementInitialize organizationManagementInitializeService)
      Set organization management enable/disable state.
      Parameters:
      organizationManagementInitializeService - OrganizationManagementInitializeInstance.
    • getOrgApplicationManager

      public org.wso2.carbon.identity.organization.management.application.OrgApplicationManager getOrgApplicationManager()
      Get organization management application manager.
      Returns:
      OrgApplicationManager.
    • setOrgApplicationManager

      public void setOrgApplicationManager(org.wso2.carbon.identity.organization.management.application.OrgApplicationManager orgApplicationManager)
      Set organization management application manager.
      Parameters:
      orgApplicationManager - OrgApplicationManager.
    • getRealmService

      public org.wso2.carbon.user.core.service.RealmService getRealmService()
      Get realm service.
      Returns:
      RealmService.
    • setRealmService

      public void setRealmService(org.wso2.carbon.user.core.service.RealmService realmService)
      Set realm service.
      Parameters:
      realmService - RealmService.
    • setRoleManagementServiceV2

      public void setRoleManagementServiceV2(org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementService roleManagementService)
      Set role management service.
      Parameters:
      roleManagementService - RoleManagementService.
    • getRoleManagementServiceV2

      public org.wso2.carbon.identity.role.v2.mgt.core.RoleManagementService getRoleManagementServiceV2()
      Get role management service.
      Returns:
      RoleManagementService.
    • setAPIResourceManager

      public void setAPIResourceManager(org.wso2.carbon.identity.api.resource.mgt.APIResourceManager apiResourceManager)
      Set API resource manager.
      Parameters:
      apiResourceManager - APIResourceManager.
    • getAPIResourceManager

      public org.wso2.carbon.identity.api.resource.mgt.APIResourceManager getAPIResourceManager()
      Get API resource manager.
      Returns:
      APIResourceManager.
    • setAPIResourceCollectionManager

      public void setAPIResourceCollectionManager(org.wso2.carbon.identity.api.resource.collection.mgt.APIResourceCollectionManager apiResourceCollectionManager)
      Set API resource collection manager.
      Parameters:
      apiResourceCollectionManager - APIResourceCollectionManager.
    • getApiResourceCollectionManager

      public org.wso2.carbon.identity.api.resource.collection.mgt.APIResourceCollectionManager getApiResourceCollectionManager()
      Get API resource collection manager.
      Returns:
      apiResourceCollectionManager.
    • setDefaultApplications

      public void setDefaultApplications(Set<String> defaultApplications)
      Set default applications.
      Parameters:
      defaultApplications - Default applications.
    • getDefaultApplications

      public Set<String> getDefaultApplications()
      Get default applications.
      Returns:
      Default applications.
    • getAuthorizedAPIManagementService

      public org.wso2.carbon.identity.application.mgt.AuthorizedAPIManagementService getAuthorizedAPIManagementService()
      Returns the authorized API management service.
      Returns:
      The authorized API management service.
    • setAuthorizedAPIManagementService

      public void setAuthorizedAPIManagementService(org.wso2.carbon.identity.application.mgt.AuthorizedAPIManagementService authorizedAPIManagementService)
      Sets the authorized API management service.
      Parameters:
      authorizedAPIManagementService - The authorized API management service to set.