Ejemplo n.º 1
0
 /**
  * Gets an instance of the <code>TraceEngineFactory</code> class using the given <code>String
  * </code> class name, and <code>ClassLoader</code>>
  *
  * @param className the <code>String</code> name of the <code>Class</code> extending <code>
  *     TraceEngineFactory</code> to load
  * @param classLoader the <code>ClassLoader</code> to use
  * @return an instance of the <code>TraceEngineFactory</code>
  * @throws FactoryException if there is an error loading the <code>TraceEngineFactory</code> class
  *     or creating an instance from it.
  */
 public static TraceEngineFactory newInstance(String className, ClassLoader classLoader)
     throws FactoryException {
   return FactoryFinder.newInstance(className, TraceEngineFactory.class, classLoader, false);
 }
Ejemplo n.º 2
0
 /**
  * Gets an instance of the <code>TraceEngineFactory</code> class using the given <code>String
  * </code> class name, and the standard <code>ClassLoader</code>>
  *
  * @param className the <code>String</code> name of the <code>Class</code> extending <code>
  *     TraceEngineFactory</code> to load
  * @return an instance of the <code>TraceEngineFactory</code>
  * @throws FactoryException if there is an error loading the <code>TraceEngineFactory</code> class
  *     or creating an instance from it.
  */
 public static TraceEngineFactory newInstance(String className) throws FactoryException {
   return FactoryFinder.newInstance(className, TraceEngineFactory.class, null, true);
 }
Ejemplo n.º 3
0
 /**
  * Gets an instance of the <code>TraceEngineFactory</code> class using standard factory lookup
  * methods defined by the {@link com.att.research.xacml.util.FactoryFinder} class.
  *
  * @return an instance of the <code>TraceEngineFactory</code> class.
  * @throws FactoryException if there is an error finding a <code>TraceEngineFactory</code>
  */
 public static TraceEngineFactory newInstance(Properties properties) throws FactoryException {
   return FactoryFinder.find(
       FACTORYID, DEFAULT_FACTORY_CLASSNAME, TraceEngineFactory.class, properties);
 }