1 8 package org.jahia.sharing; 9 10 import org.jahia.utils.JahiaConsole; 11 12 13 14 public class JahiaDataSourceManager { 15 16 private static JahiaDataSourceManager theObject = null; 17 private FieldSharingManager fields = null; 18 19 20 21 26 private JahiaDataSourceManager() 27 { 28 JahiaConsole.println( "JahiaDataSourceManager", "***** Starting the Jahia DataSource Manager *****" ); 29 fields = FieldSharingManager.getInstance(); 30 } 32 33 34 39 public static synchronized JahiaDataSourceManager getInstance() 40 { 41 if (theObject == null) { 42 theObject = new JahiaDataSourceManager(); 43 } 44 return theObject; 45 } 47 48 49 54 public FieldSharingManager fields() 55 { 56 return fields; 57 } 59 60 } | Popular Tags |