ilog.rules.res.persistence.trace
Interface IlrTraceDAOFactory
-
public interface IlrTraceDAOFactory
Implement to provide customized trace management. Retrieve a trace DAO factory by callingIlrTraceDAOFactoryProvider.createTraceDaoFactory()
. This method retrieves the name of the factory from the map passed as a parameter and instantiates it using the given classloader.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
TRACE_DAO_CONFIG_GROUP_NAME
static java.lang.String
TRACE_DAO_FACTORY_CLASS_NAME
static java.lang.String
TRACE_DAO_JDBC_DESCRIPTOR_FILE
-
Method Summary
Methods Modifier and Type Method and Description IlrTraceDAO
createDAO()
Returns a newIlrTraceDAO
instance.void
initialize(java.util.Map<java.lang.String,java.lang.String> properties)
Initializes the factory with specific properties.
-
-
-
Field Detail
-
TRACE_DAO_JDBC_DESCRIPTOR_FILE
static final java.lang.String TRACE_DAO_JDBC_DESCRIPTOR_FILE
- See Also:
- Constant Field Values
-
TRACE_DAO_CONFIG_GROUP_NAME
static final java.lang.String TRACE_DAO_CONFIG_GROUP_NAME
- See Also:
- Constant Field Values
-
TRACE_DAO_FACTORY_CLASS_NAME
static final java.lang.String TRACE_DAO_FACTORY_CLASS_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
void initialize(java.util.Map<java.lang.String,java.lang.String> properties) throws IlrTraceDAOException
Initializes the factory with specific properties.- Throws:
ilog.rules.res.persistence.IlrDAOException
- if an error occurred while initializing the trace DAO factory.IlrTraceDAOException
- Parameters:
properties
- The properties to be used for initialization. For example, the jdbc connection details.
-
createDAO
IlrTraceDAO createDAO() throws IlrTraceDAOException
Returns a newIlrTraceDAO
instance.- Throws:
ilog.rules.res.persistence.IlrDAOException
- if an error occurred creating the DAO.IlrTraceDAOException
- Returns:
- A new or reused
IlrTraceDAO
instance.
-
-