Class ActivationService

java.lang.Object
org.wso2.carbon.activation.service.ActivationService

public class ActivationService extends Object
Admin Service to handle activation of cloud services used by tenants.
  • Constructor Details

    • ActivationService

      public ActivationService()
  • Method Details

    • updateActivation

      public static void updateActivation(int tenantId) throws Exception
      Method to update an activation record.
      Parameters:
      tenantId - the tenant identifier.
      Throws:
      Exception - if the operation failed.
    • isActive

      public boolean isActive(int tenantId) throws Exception
      Method to determine whether a service is active for the given tenant.
      Parameters:
      tenantId - tenantId the tenant identifier.
      Returns:
      whether the service is active.
      Throws:
      Exception - if the operation failed.