ilog.rules.res.persistence.trace
Class IlrTraceDAOFactoryUtil
- java.lang.Object
-
- ilog.rules.res.persistence.trace.IlrTraceDAOFactoryUtil
-
public class IlrTraceDAOFactoryUtil extends java.lang.Object
Represents the DAO factory trace utilities. This class provides access to the default JRules trace DAOs suchDRIVER
, orDATASOURCE
.- Since:
- 7.0
-
-
Constructor Summary
Constructors Constructor and Description IlrTraceDAOFactoryUtil(java.util.Map<java.lang.String,java.lang.String> properties)
Creates anIlrTraceDAOFactoryUtil
object with properties that the constructedIlrTraceDAOFactory
object uses to createIlrTraceDAO
instances.IlrTraceDAOFactoryUtil(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.ClassLoader classLoader)
Creates anIlrTraceDAOFactoryUtil
with properties that the constructedIlrTraceDAOFactory
object uses to createIlrTraceDAO
instances and a specific class loader to load theIlrTraceDAOFactory
implementation class.
-
Method Summary
Methods Modifier and Type Method and Description IlrTraceDAOFactory
createTraceDAOFactory(IlrTraceDAOFactoryType traceDAOFactoryType)
Creates a predefinedIlrTraceDAOFactory
implementation class instance of the specified type.
-
-
-
Constructor Detail
-
IlrTraceDAOFactoryUtil
public IlrTraceDAOFactoryUtil(java.util.Map<java.lang.String,java.lang.String> properties)
Creates anIlrTraceDAOFactoryUtil
object with properties that the constructedIlrTraceDAOFactory
object uses to createIlrTraceDAO
instances.- Parameters:
properties
- the properties that will be used by the constructedIlrTraceDAOFactory
to createIlrTraceDAO
instances.
-
IlrTraceDAOFactoryUtil
public IlrTraceDAOFactoryUtil(java.util.Map<java.lang.String,java.lang.String> properties, java.lang.ClassLoader classLoader)
Creates anIlrTraceDAOFactoryUtil
with properties that the constructedIlrTraceDAOFactory
object uses to createIlrTraceDAO
instances and a specific class loader to load theIlrTraceDAOFactory
implementation class.- Parameters:
properties
- the properties that will be used by the constructedIlrTraceDAOFactory
object to create theIlrTraceDAO
instance.classLoader
- the class loader that will be used to load theIlrTraceDAOFactory
implementation class.
-
-
Method Detail
-
createTraceDAOFactory
public IlrTraceDAOFactory createTraceDAOFactory(IlrTraceDAOFactoryType traceDAOFactoryType) throws IlrTraceDAOException
Creates a predefinedIlrTraceDAOFactory
implementation class instance of the specified type.- Throws:
IlrTraceDAOException
- if the creation of theIlrTraceDAOFactory
instance fails- Parameters:
traceDAOFactoryType
- the type of predefined factory class, seeIlrTraceDAOFactoryType
for the valid values.- Returns:
- an instance of
IlrTraceDAOFactory
-
-