| Package | Description |
|---|---|
| io.hypersistence.optimizer | |
| io.hypersistence.optimizer.core.config | |
| io.hypersistence.optimizer.hibernate.event |
| Modifier and Type | Method and Description |
|---|---|
Config |
HypersistenceOptimizer.config()
Get the current
Config object. |
| Constructor and Description |
|---|
HypersistenceOptimizer(Config config)
Instantiate a
HypersistenceOptimizer object using the
provided configuration. |
| Modifier and Type | Class and Description |
|---|---|
class |
HibernateConfig
|
class |
JpaConfig
|
| Modifier and Type | Method and Description |
|---|---|
Config |
Config.addEventHandler(EventHandler eventHandler)
Add the provided
EventHandler. |
Config |
ConfigContext.getConfig()
Get the current
Config object. |
Config |
Config.setBannerPrintingEnabled(boolean bannerPrintingEnabled)
Enable or disable the banner printing.
|
Config |
Config.setConfigurationScannerEnabled(boolean configurationScannerEnabled)
Enable or disable the configuration scanner.
|
Config |
Config.setEventDecorator(EventDecorator eventDecorator)
Set the current
EventDecorator. |
Config |
Config.setEventFilter(EventFilter eventFilter)
Set the current
EventFilter. |
Config |
Config.setEventHandler(EventHandler eventHandler)
Set the current
EventHandler. |
Config |
Config.setEventPersistence(Config.EventPersistence eventPersistence)
Set the event persistence configuration.
|
Config |
Config.setEventSender(EventSender eventSender)
Set the current
EventSender. |
Config |
Config.setExceptionHandler(ExceptionHandler exceptionHandler)
Set the current
ExceptionHandler. |
Config |
Config.setJmx(Config.Jmx jmxConfig)
Set the JMX configuration.
|
Config |
Config.setMappingScannerEnabled(boolean mappingScannerEnabled)
Enable or disable the mapping scanner.
|
Config |
Config.setMetadataScannersEnabled(boolean metadataScannerEnabled)
Enable or disable the metadata scanners (mapping and configuration).
|
Config |
Config.setProperties(Map<String,Object> properties)
Set runtime properties that can override default settings.
|
Config |
Config.setRuntimeScannerEnabled(boolean runtimeScannerEnabled)
Enable or disable the runtime scanner.
|
| Constructor and Description |
|---|
ConfigContext(Config config)
Instantiate a
ConfigContext object using the
provided configuration. |
| Modifier and Type | Method and Description |
|---|---|
void |
EnversEventFilter.register(Config config)
Register this
EventFilter in case Envers is present on the classpath. |
Copyright © 2026. All rights reserved.