Class ThemeLoadingListener

  • All Implemented Interfaces:
    org.wso2.carbon.stratos.common.listeners.TenantMgtListener

    public class ThemeLoadingListener
    extends Object
    implements org.wso2.carbon.stratos.common.listeners.TenantMgtListener
    • Constructor Detail

      • ThemeLoadingListener

        public ThemeLoadingListener()
    • Method Detail

      • onTenantCreate

        public void onTenantCreate​(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfo)
                            throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onTenantCreate in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • onTenantUpdate

        public void onTenantUpdate​(org.wso2.carbon.stratos.common.beans.TenantInfoBean tenantInfo)
                            throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onTenantUpdate in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • onTenantDelete

        public void onTenantDelete​(int tenantId)
        Specified by:
        onTenantDelete in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
      • onTenantRename

        public void onTenantRename​(int tenantId,
                                   String oldDomainName,
                                   String newDomainName)
                            throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onTenantRename in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • getListenerOrder

        public int getListenerOrder()
        Specified by:
        getListenerOrder in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
      • onTenantInitialActivation

        public void onTenantInitialActivation​(int tenantId)
                                       throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onTenantInitialActivation in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • onTenantActivation

        public void onTenantActivation​(int tenantId)
                                throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onTenantActivation in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • onTenantDeactivation

        public void onTenantDeactivation​(int tenantId)
                                  throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onTenantDeactivation in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • onSubscriptionPlanChange

        public void onSubscriptionPlanChange​(int tenentId,
                                             String oldPlan,
                                             String newPlan)
                                      throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onSubscriptionPlanChange in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException
      • onPreDelete

        public void onPreDelete​(int tenantId)
                         throws org.wso2.carbon.stratos.common.exception.StratosException
        Specified by:
        onPreDelete in interface org.wso2.carbon.stratos.common.listeners.TenantMgtListener
        Throws:
        org.wso2.carbon.stratos.common.exception.StratosException