/** * Creates an instance of the <code>DataTypeFactory</code> using default configuration * information. * * @param properties * @return the default <code>DataTypeFactory</code> * @throws FactoryException */ public static DataTypeFactory newInstance(Properties properties) throws FactoryException { return FactoryFinder.find( FACTORYID, DEFAULT_FACTORY_CLASSNAME, DataTypeFactory.class, properties); }
/** * Creates an instance of the <code>DataTypeFactory</code> using the given class name. * * @param className the <code>String</code> class name of the <code>DataTypeFactory</code> to * create * @return the <code>DataTypeFactory</code> for the given class name. */ public static DataTypeFactory newInstance(String className) throws FactoryException { return FactoryFinder.newInstance(className, DataTypeFactory.class, null, true); }
/** * Creates an instance of the <code>DataTypeFactory</code> using the given class name using the * given <code>ClassLoader</code>. * * @param className the <code>String</code> class name of the <code>DataTypeFactory</code> to * create * @param classLoader the <code>ClassLoader</code> to use to load the class with the given class * name * @return the <code>DataTypeFactory</code> for the given class name */ public static DataTypeFactory newInstance(String className, ClassLoader classLoader) throws FactoryException { return FactoryFinder.newInstance(className, DataTypeFactory.class, classLoader, false); }