01: package org.sakaibrary.osid.repository.xserver;
02:
03: /**********************************************************************************
04: * $URL: https://source.sakaiproject.org/svn/citations/tags/sakai_2-4-1/citations-osid/xserver/src/java/org/sakaibrary/osid/repository/xserver/Managers.java $
05: * $Id: Managers.java 22640 2007-03-14 21:04:07Z jimeng@umich.edu $
06: **********************************************************************************
07: *
08: * Copyright (c) 2003, 2004, 2005 The Regents of the University of Michigan, Trustees of Indiana University,
09: * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation
10: *
11: * Licensed under the Educational Community License Version 1.0 (the "License");
12: * By obtaining, using and/or copying this Original Work, you agree that you have read,
13: * understand, and will comply with the terms and conditions of the Educational Community License.
14: * You may obtain a copy of the License at:
15: *
16: * http://cvs.sakaiproject.org/licenses/license_1_0.html
17: *
18: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
19: * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
20: * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
21: * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23: *
24: **********************************************************************************/
25: /**
26: * @author Massachusetts Institute of Techbology, Sakai Software Development Team
27: * @version
28: */
29:
30: public class Managers {
31: private static Managers managers = new Managers();
32: private static org.osid.id.IdManager idManager = null;
33:
34: protected static Managers getInstance() {
35: return managers;
36: }
37:
38: public static void setIdManager(org.osid.id.IdManager manager) {
39: idManager = manager;
40: }
41:
42: public static org.osid.id.IdManager getIdManager() {
43: return idManager;
44: }
45: }
|