org.apache.stratos.manager.persistence
Class PersistenceManager

java.lang.Object
  extended by org.apache.stratos.manager.persistence.PersistenceManager
Direct Known Subclasses:
RegistryBasedPersistenceManager

public abstract class PersistenceManager
extends Object


Constructor Summary
PersistenceManager()
           
 
Method Summary
abstract  Collection<CartridgeSubscription> getCartridgeSubscriptions()
           
abstract  Collection<CartridgeSubscription> getCartridgeSubscriptions(int tenantId)
           
abstract  Service getService(String cartridgeType)
           
abstract  Collection<Service> getServices()
           
abstract  void persistCartridgeSubscription(CartridgeSubscription cartridgeSubscription)
           
abstract  void persistService(Service service)
           
abstract  void removeCartridgeSubscription(int tenantId, String type, String alias)
           
abstract  void removeService(String cartridgeType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceManager

public PersistenceManager()
Method Detail

persistCartridgeSubscription

public abstract void persistCartridgeSubscription(CartridgeSubscription cartridgeSubscription)
                                           throws PersistenceManagerException
Throws:
PersistenceManagerException

removeCartridgeSubscription

public abstract void removeCartridgeSubscription(int tenantId,
                                                 String type,
                                                 String alias)
                                          throws PersistenceManagerException
Throws:
PersistenceManagerException

getCartridgeSubscriptions

public abstract Collection<CartridgeSubscription> getCartridgeSubscriptions()
                                                                     throws PersistenceManagerException
Throws:
PersistenceManagerException

getCartridgeSubscriptions

public abstract Collection<CartridgeSubscription> getCartridgeSubscriptions(int tenantId)
                                                                     throws PersistenceManagerException
Throws:
PersistenceManagerException

persistService

public abstract void persistService(Service service)
                             throws PersistenceManagerException
Throws:
PersistenceManagerException

getServices

public abstract Collection<Service> getServices()
                                         throws PersistenceManagerException
Throws:
PersistenceManagerException

getService

public abstract Service getService(String cartridgeType)
                            throws PersistenceManagerException
Throws:
PersistenceManagerException

removeService

public abstract void removeService(String cartridgeType)
                            throws PersistenceManagerException
Throws:
PersistenceManagerException


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