org.apache.stratos.manager.subscription.tenancy
Class SubscriptionMultiTenantBehaviour

java.lang.Object
  extended by org.apache.stratos.manager.behaviour.CartridgeMgtBehaviour
      extended by org.apache.stratos.manager.subscription.tenancy.SubscriptionTenancyBehaviour
          extended by org.apache.stratos.manager.subscription.tenancy.SubscriptionMultiTenantBehaviour
All Implemented Interfaces:
Serializable

public class SubscriptionMultiTenantBehaviour
extends SubscriptionTenancyBehaviour

See Also:
Serialized Form

Constructor Summary
SubscriptionMultiTenantBehaviour()
           
 
Method Summary
 PayloadData create(String alias, Cluster cluster, Subscriber subscriber, Repository repository, org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo cartridgeInfo, String subscriptionKey, Map<String,String> customPayloadEntries)
           
 void register(org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo cartridgeInfo, Cluster cluster, PayloadData payloadData, String autoscalePolicyName, String deploymentPolicyName, org.apache.stratos.cloud.controller.stub.pojo.Properties properties)
           
 void remove(String clusterId, String alias)
           
 
Methods inherited from class org.apache.stratos.manager.behaviour.CartridgeMgtBehaviour
createPayload, generateClusterId, generateHostName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubscriptionMultiTenantBehaviour

public SubscriptionMultiTenantBehaviour()
Method Detail

create

public PayloadData create(String alias,
                          Cluster cluster,
                          Subscriber subscriber,
                          Repository repository,
                          org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo cartridgeInfo,
                          String subscriptionKey,
                          Map<String,String> customPayloadEntries)
                   throws ADCException,
                          AlreadySubscribedException
Overrides:
create in class CartridgeMgtBehaviour
Throws:
ADCException
AlreadySubscribedException

register

public void register(org.apache.stratos.cloud.controller.stub.pojo.CartridgeInfo cartridgeInfo,
                     Cluster cluster,
                     PayloadData payloadData,
                     String autoscalePolicyName,
                     String deploymentPolicyName,
                     org.apache.stratos.cloud.controller.stub.pojo.Properties properties)
              throws ADCException,
                     UnregisteredCartridgeException
Overrides:
register in class CartridgeMgtBehaviour
Throws:
ADCException
UnregisteredCartridgeException

remove

public void remove(String clusterId,
                   String alias)
            throws ADCException,
                   NotSubscribedException
Overrides:
remove in class CartridgeMgtBehaviour
Throws:
ADCException
NotSubscribedException


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.