View Javadoc

1   /*
2    * HibernatePersistenceFactory.java
3    *
4    * Created on Aug 26, 2009
5    *
6    * @author Jay Packard
7    */
8   
9   package gov.bnl.gums.persistence;
10  
11  import gov.bnl.gums.configuration.Configuration;
12  
13  import java.util.Collection;
14  import java.util.Properties;
15  
16  import org.apache.log4j.Logger;
17  
18  // TODO: Implement
19  public class LdapPersistenceEngine implements PersistenceEngine {
20  	private Logger log = Logger.getLogger(LdapPersistenceEngine.class);
21  	protected Properties properties = null;
22  	
23  	/**
24  	 * Create a new hibernate persistence factory.  This empty constructor is needed by the XML Digester.
25  	 */
26  	public LdapPersistenceEngine(Properties properties) {
27  		this.properties = properties;
28  		log.trace("LdapPersistenceEngine instanciated");
29  	}
30  	
31  	public void beginTransaction() {
32  		
33  	}
34  	
35  	public void commit() {
36  		
37  	}
38  
39  	public void rollback() {
40  		
41  	}
42  
43  	public void removeBackupConfiguration(String name) {
44  		
45  	}
46  	
47  	public Collection<String> retrieveBackupConfigurationNames() {
48  		return null;
49  	}
50  
51  	public Configuration retrieveCurrentConfiguration() {
52  		return null;
53  	}
54  	
55  	public Configuration restoreConfiguration(String name) {
56  		return null;
57  	}
58  
59  	public void setConfiguration(Configuration conf) {
60  		
61  	}
62  }