ilog.rules.res.persistence.trace

Interface IlrTraceDAOFactory



  • public interface IlrTraceDAOFactory
    Implement to provide customized trace management. Retrieve a trace DAO factory by calling IlrTraceDAOFactoryProvider.createTraceDaoFactory(). This method retrieves the name of the factory from the map passed as a parameter and instantiates it using the given classloader.
    • 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 new IlrTraceDAO instance.
        Throws:
        ilog.rules.res.persistence.IlrDAOException - if an error occurred creating the DAO.
        IlrTraceDAOException
        Returns:
        A new or reused IlrTraceDAO instance.

© Copyright IBM Corp. 1987, 2020