Class JdbcAuditEventHandlerConfiguration
- java.lang.Object
- 
- org.forgerock.audit.events.handlers.EventHandlerConfiguration
- 
- org.forgerock.audit.handlers.jdbc.JdbcAuditEventHandlerConfiguration
 
 
- 
 public class JdbcAuditEventHandlerConfiguration extends EventHandlerConfiguration Configures the JDBC mapping and connection pool.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJdbcAuditEventHandlerConfiguration.ConnectionPoolConfiguration for a connection pool.static classJdbcAuditEventHandlerConfiguration.EventBufferingConfigurationConfiguration of event buffering.
 - 
Constructor SummaryConstructors Constructor Description JdbcAuditEventHandlerConfiguration()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description JdbcAuditEventHandlerConfiguration.EventBufferingConfigurationgetBuffering()Returns the configuration for events buffering.JdbcAuditEventHandlerConfiguration.ConnectionPoolgetConnectionPool()Gets the connection pool settings.StringgetDatabaseType()Gets the type of the database.List<TableMapping>getTableMappings()Gets the table mappings for the audit events.booleanisUsableForQueries()States if anAuditEventHandlercan be used for queries.voidsetBufferingConfiguration(JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration bufferingConfiguration)Sets the configuration for events buffering.voidsetConnectionPool(JdbcAuditEventHandlerConfiguration.ConnectionPool connectionPool)Sets the connection pool settings.voidsetDatabaseType(String databaseType)Sets the type of the database.voidsetTableMappings(List<TableMapping> tableMappings)Sets the table mappings for the audit events.- 
Methods inherited from class org.forgerock.audit.events.handlers.EventHandlerConfigurationgetName, getTopics, isEnabled, setEnabled, setName, setTopics
 
- 
 
- 
- 
- 
Method Detail- 
getTableMappingspublic List<TableMapping> getTableMappings() Gets the table mappings for the audit events.- Returns:
- The table mappings for the audit events.
 
 - 
setTableMappingspublic void setTableMappings(List<TableMapping> tableMappings) Sets the table mappings for the audit events.- Parameters:
- tableMappings- The table mappings for the audit events.
 
 - 
getConnectionPoolpublic JdbcAuditEventHandlerConfiguration.ConnectionPool getConnectionPool() Gets the connection pool settings.- Returns:
- The connection pool settings.
 
 - 
setConnectionPoolpublic void setConnectionPool(JdbcAuditEventHandlerConfiguration.ConnectionPool connectionPool) Sets the connection pool settings.- Parameters:
- connectionPool- The connection pool settings.
 
 - 
getDatabaseTypepublic String getDatabaseType() Gets the type of the database.- Returns:
- The type of the database.
 
 - 
setDatabaseTypepublic void setDatabaseType(String databaseType) Sets the type of the database.- Parameters:
- databaseType- The type of the database.
 
 - 
isUsableForQueriespublic boolean isUsableForQueries() Description copied from class:EventHandlerConfigurationStates if anAuditEventHandlercan be used for queries.- Specified by:
- isUsableForQueriesin class- EventHandlerConfiguration
- Returns:
- True - If the AuditEventHandlercan be used for queries. False - If theAuditEventHandlercan not be used for queries.
 
 - 
getBufferingpublic JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration getBuffering() Returns the configuration for events buffering.- Returns:
- the configuration
 
 - 
setBufferingConfigurationpublic void setBufferingConfiguration(JdbcAuditEventHandlerConfiguration.EventBufferingConfiguration bufferingConfiguration) Sets the configuration for events buffering.- Parameters:
- bufferingConfiguration- The configuration
 
 
- 
 
-