KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > info > magnolia > module > templating > Store


1 package info.magnolia.module.templating;
2
3 import info.magnolia.cms.core.Content;
4
5
6 /**
7  * Date: Oct 14, 2004 Time: 3:23:06 PM
8  * @author Sameer Charles
9  * @version 2.0
10  */

11 public class Store {
12
13     private static Store store = new Store();
14
15     private Content localStore;
16
17     protected Store() {
18     }
19
20     public static Store getInstance() {
21         return Store.store;
22     }
23
24     public void setStore(Content localStore) {
25         this.localStore = localStore;
26     }
27
28     public Content getStore() {
29         return this.localStore;
30     }
31 }
32
Popular Tags