001 /** 002 * OntoBridgeSingleton.java 003 * jCOLIBRI2 framework. 004 * @author Juan A. Recio-García. 005 * GAIA - Group for Artificial Intelligence Applications 006 * http://gaia.fdi.ucm.es 007 * 04/06/2007 008 */ 009 package jcolibri.util; 010 011 import es.ucm.fdi.gaia.ontobridge.OntoBridge; 012 013 /** 014 * Singleton for the OntoBridge library 015 * @author Juan A. Recio-Garcia 016 * 017 */ 018 public class OntoBridgeSingleton { 019 020 private static OntoBridge _instance=null; 021 public static OntoBridge getOntoBridge() 022 { 023 if(_instance == null) 024 _instance = new OntoBridge(); 025 return _instance; 026 } 027 }