public class KeystoreTenantMgtListener extends Object implements org.wso2.carbon.stratos.common.listeners.TenantMgtListener
Constructor and Description |
---|
KeystoreTenantMgtListener() |
Modifier and Type | Method and Description |
---|---|
int |
getListenerOrder() |
void |
onPreDelete(int tenantId) |
void |
onSubscriptionPlanChange(int tenentId,
String oldPlan,
String newPlan) |
void |
onTenantActivation(int tenantId) |
void |
onTenantCreate(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfo)
Generate the keystore when a new tenant is registered.
|
void |
onTenantDeactivation(int tenantId) |
void |
onTenantDelete(int tenantId) |
void |
onTenantInitialActivation(int tenantId) |
void |
onTenantRename(int tenantId,
String oldDomainName,
String newDomainName) |
void |
onTenantUpdate(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfo) |
public void onTenantCreate(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfo) throws org.wso2.carbon.stratos.common.exception.StratosException
onTenantCreate
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
tenantInfo
- Information about the newly created tenantorg.wso2.carbon.stratos.common.exception.StratosException
public void onTenantUpdate(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfo) throws org.wso2.carbon.stratos.common.exception.StratosException
onTenantUpdate
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
public void onTenantDelete(int tenantId)
onTenantDelete
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
public void onTenantRename(int tenantId, String oldDomainName, String newDomainName) throws org.wso2.carbon.stratos.common.exception.StratosException
onTenantRename
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
public int getListenerOrder()
getListenerOrder
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
public void onTenantInitialActivation(int tenantId) throws org.wso2.carbon.stratos.common.exception.StratosException
onTenantInitialActivation
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
public void onTenantActivation(int tenantId) throws org.wso2.carbon.stratos.common.exception.StratosException
onTenantActivation
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
public void onTenantDeactivation(int tenantId) throws org.wso2.carbon.stratos.common.exception.StratosException
onTenantDeactivation
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
public void onSubscriptionPlanChange(int tenentId, String oldPlan, String newPlan) throws org.wso2.carbon.stratos.common.exception.StratosException
onSubscriptionPlanChange
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
public void onPreDelete(int tenantId) throws org.wso2.carbon.stratos.common.exception.StratosException
onPreDelete
in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
org.wso2.carbon.stratos.common.exception.StratosException
Copyright © 2019 WSO2. All rights reserved.