org.lsst.ccs.config.utilities
Interface PersistentProperties.Store

All Known Implementing Classes:
PersistentProperties.FileStore
Enclosing class:
PersistentProperties

public static interface PersistentProperties.Store

this class defines the way the properties are made persistent and read. A Store could be a properties file or a database for example.


Method Summary
 void commit()
          will save the properties registered for this store
 void storeIsFor(PersistentProperties props)
          should be normally part of the constructor: call this method only once!
 void update()
          will read the Properties registered by this store
 

Method Detail

storeIsFor

void storeIsFor(PersistentProperties props)
should be normally part of the constructor: call this method only once!

Parameters:
props -

commit

void commit()
            throws IOException
will save the properties registered for this store

Throws:
IOException

update

void update()
            throws IOException
will read the Properties registered by this store

Throws:
IOException


Copyright © 2013 LSST. All Rights Reserved.