Class ActivationService
java.lang.Object
org.wso2.carbon.activation.service.ActivationService
Admin Service to handle activation of cloud services used by tenants.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisActive(int tenantId) Method to determine whether a service is active for the given tenant.static voidupdateActivation(int tenantId) Method to update an activation record.
-
Constructor Details
-
ActivationService
public ActivationService()
-
-
Method Details
-
updateActivation
Method to update an activation record.- Parameters:
tenantId- the tenant identifier.- Throws:
Exception- if the operation failed.
-
isActive
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.
-