org.apache.stratos.cartridge.agent.registrant
Class RegistrantDatabase
java.lang.Object
org.apache.stratos.cartridge.agent.registrant.RegistrantDatabase
public class RegistrantDatabase
- extends Object
This class represents a database for Registrants. Registrants added to this database will be
persisted, so that when the Cartridge Agent is restarted, the Registrants can be restored.
- See Also:
Registrant
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RegistrantDatabase
public RegistrantDatabase()
add
public void add(Registrant registrant)
throws CartridgeAgentException
- Throws:
CartridgeAgentException
stopAll
public void stopAll()
containsActive
public boolean containsActive(Registrant registrant)
getRegistrants
public List<Registrant> getRegistrants()
isAlreadyAdded
public boolean isAlreadyAdded(Registrant registrant)
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.