Rule Execution Server API

ilog.rules.res.persistence.trace
Class IlrTraceDAOFactoryUtil

java.lang.Object
  extended by ilog.rules.res.persistence.trace.IlrTraceDAOFactoryUtil

public class IlrTraceDAOFactoryUtil
extends Object

Represents the DAO factory trace utilities. This class provides access to the default JRules trace DAOs such DRIVER, or DATASOURCE.

Since:
7.0

Constructor Summary
IlrTraceDAOFactoryUtil(Map<String,String> properties)
          Creates an IlrTraceDAOFactoryUtil object with properties that the constructed IlrTraceDAOFactory object uses to create IlrTraceDAO instances.
IlrTraceDAOFactoryUtil(Map<String,String> properties, ClassLoader classLoader)
          Creates an IlrTraceDAOFactoryUtil with properties that the constructed IlrTraceDAOFactory object uses to create IlrTraceDAO instances and a specific class loader to load the IlrTraceDAOFactory implementation class.
 
Method Summary
 IlrTraceDAOFactory createTraceDAOFactory(IlrTraceDAOFactoryType traceDAOFactoryType)
          Creates a predefined IlrTraceDAOFactory implementation class instance of the specified type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlrTraceDAOFactoryUtil

public IlrTraceDAOFactoryUtil(Map<String,String> properties)
Creates an IlrTraceDAOFactoryUtil object with properties that the constructed IlrTraceDAOFactory object uses to create IlrTraceDAO instances.

Parameters:
properties - the properties that will be used by the constructed IlrTraceDAOFactory to create IlrTraceDAO instances.

IlrTraceDAOFactoryUtil

public IlrTraceDAOFactoryUtil(Map<String,String> properties,
                              ClassLoader classLoader)
Creates an IlrTraceDAOFactoryUtil with properties that the constructed IlrTraceDAOFactory object uses to create IlrTraceDAO instances and a specific class loader to load the IlrTraceDAOFactory implementation class.

Parameters:
properties - the properties that will be used by the constructed IlrTraceDAOFactory object to create the IlrTraceDAO instance.
classLoader - the class loader that will be used to load the IlrTraceDAOFactory implementation class.
Method Detail

createTraceDAOFactory

public IlrTraceDAOFactory createTraceDAOFactory(IlrTraceDAOFactoryType traceDAOFactoryType)
                                         throws IlrTraceDAOException
Creates a predefined IlrTraceDAOFactory implementation class instance of the specified type.

Throws:
IlrTraceDAOException - if the creation of the IlrTraceDAOFactory instance fails
Parameters:
traceDAOFactoryType - the type of predefined factory class, see IlrTraceDAOFactoryType for the valid values.
Returns:
an instance of IlrTraceDAOFactory

Rule Execution Server API

© Copyright IBM Corp. 1987, 2013