org.apache.stratos.manager.publisher
Class TenantEventPublisher
java.lang.Object
org.apache.stratos.manager.publisher.TenantEventPublisher
- All Implemented Interfaces:
- org.apache.stratos.common.listeners.TenantMgtListener
public class TenantEventPublisher
- extends Object
- implements org.apache.stratos.common.listeners.TenantMgtListener
Tenant event publisher to publish tenant events to the message broker by
listening to the tenant manager.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TenantEventPublisher
public TenantEventPublisher()
onTenantCreate
public void onTenantCreate(org.apache.stratos.common.beans.TenantInfoBean tenantInfo)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onTenantCreate in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
onTenantUpdate
public void onTenantUpdate(org.apache.stratos.common.beans.TenantInfoBean tenantInfo)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onTenantUpdate in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
onTenantDelete
public void onTenantDelete(int tenantId)
- Specified by:
onTenantDelete in interface org.apache.stratos.common.listeners.TenantMgtListener
onTenantRename
public void onTenantRename(int tenantId,
String oldDomainName,
String newDomainName)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onTenantRename in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
onTenantInitialActivation
public void onTenantInitialActivation(int tenantId)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onTenantInitialActivation in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
onTenantActivation
public void onTenantActivation(int tenantId)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onTenantActivation in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
onTenantDeactivation
public void onTenantDeactivation(int tenantId)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onTenantDeactivation in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
onSubscriptionPlanChange
public void onSubscriptionPlanChange(int tenantId,
String oldPlan,
String newPlan)
throws org.apache.stratos.common.exception.StratosException
- Specified by:
onSubscriptionPlanChange in interface org.apache.stratos.common.listeners.TenantMgtListener
- Throws:
org.apache.stratos.common.exception.StratosException
getListenerOrder
public int getListenerOrder()
- Specified by:
getListenerOrder in interface org.apache.stratos.common.listeners.TenantMgtListener
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.