KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > jcr > impl > storage > BaseRepositoryManager


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5
6 package org.exoplatform.services.jcr.impl.storage;
7
8
9 import java.util.Calendar JavaDoc;
10 import java.util.Date JavaDoc;
11 import org.exoplatform.services.jcr.storage.RepositoryManager;
12
13
14 /**
15  * Created by The eXo Platform SARL .
16  *
17  * @author <a HREF="mailto:geaz@users.sourceforge.net">Gennady Azarenkov</a>
18  * @version $Id: BaseRepositoryManager.java,v 1.1 2004/08/23 10:31:38 geaz Exp $
19  */

20
21 abstract public class BaseRepositoryManager implements RepositoryManager {
22
23   public Calendar JavaDoc getCurrentTime() {
24     Calendar JavaDoc cal = Calendar.getInstance();
25     cal.setTime(new Date JavaDoc());
26     return cal;
27   }
28
29 }
30
Popular Tags