Class JdbcAuditEventHandlerConfiguration
java.lang.Object
org.forgerock.audit.events.handlers.EventHandlerConfiguration
org.forgerock.audit.handlers.jdbc.JdbcAuditEventHandlerConfiguration
Configures the JDBC mapping and connection pool.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Configuration for a connection pool.static class
Configuration of event buffering. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the configuration for events buffering.Gets the connection pool settings.Gets the type of the database.Gets the table mappings for the audit events.boolean
void
setBufferingConfiguration
(JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration bufferingConfiguration) Sets the configuration for events buffering.void
setConnectionPool
(JdbcAuditEventHandlerConfiguration.ConnectionPool connectionPool) Sets the connection pool settings.void
setDatabaseType
(String databaseType) Sets the type of the database.void
setTableMappings
(List<TableMapping> tableMappings) Sets the table mappings for the audit events.Methods inherited from class org.forgerock.audit.events.handlers.EventHandlerConfiguration
getName, getTopics, isEnabled, setEnabled, setName, setTopics
-
Constructor Details
-
JdbcAuditEventHandlerConfiguration
public JdbcAuditEventHandlerConfiguration()
-
-
Method Details
-
getTableMappings
Gets the table mappings for the audit events.- Returns:
- The table mappings for the audit events.
-
setTableMappings
Sets the table mappings for the audit events.- Parameters:
tableMappings
- The table mappings for the audit events.
-
getConnectionPool
Gets the connection pool settings.- Returns:
- The connection pool settings.
-
setConnectionPool
Sets the connection pool settings.- Parameters:
connectionPool
- The connection pool settings.
-
getDatabaseType
Gets the type of the database.- Returns:
- The type of the database.
-
setDatabaseType
Sets the type of the database.- Parameters:
databaseType
- The type of the database.
-
isUsableForQueries
- Specified by:
isUsableForQueries
in classEventHandlerConfiguration
-
getBuffering
Returns the configuration for events buffering.- Returns:
- the configuration
-
setBufferingConfiguration
public void setBufferingConfiguration(JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration bufferingConfiguration) Sets the configuration for events buffering.- Parameters:
bufferingConfiguration
- The configuration
-