1 package org.apache.ojb.odmg; 2 3 17 18 import org.apache.ojb.broker.util.factory.ConfigurableFactory; 19 import org.odmg.Implementation; 20 21 22 29 public class OJB extends ConfigurableFactory 30 { 31 private static OJB instance; 32 33 static 34 { 35 instance = new OJB(); 36 } 37 38 42 protected OJB() 43 { 44 } 45 46 50 public static ImplementationExt getInstance() 51 { 52 return (ImplementationExt) instance.createNewInstance(); 53 } 54 55 protected String getConfigurationKey() 56 { 57 return "ImplementationClass"; 58 } 59 } 60 | Popular Tags |