public class EnversServiceImpl extends Object implements EnversService, Configurable, Stoppable
INTEGRATION_ENABLED
Constructor and Description |
---|
EnversServiceImpl() |
public void configure(Map configurationValues)
Configurable
configure
in interface Configurable
configurationValues
- The configuration properties.public boolean isEnabled()
EnversService
isEnabled
in interface EnversService
true
If the integration is enabled; false
otherwise.public boolean isInitialized()
EnversService
EnversService.isEnabled()
is true
, has EnversService.initialize(org.hibernate.boot.spi.MetadataImplementor, org.hibernate.envers.configuration.internal.MappingCollector)
been called yet?isInitialized
in interface EnversService
true
indicates EnversService.initialize(org.hibernate.boot.spi.MetadataImplementor, org.hibernate.envers.configuration.internal.MappingCollector)
has been called; false
indicates that EnversService.initialize(org.hibernate.boot.spi.MetadataImplementor, org.hibernate.envers.configuration.internal.MappingCollector)
has not (yet) been called.public void initialize(MetadataImplementor metadata, MappingCollector mappingCollector)
initialize
in interface EnversService
public XMLHelper getXmlHelper()
getXmlHelper
in interface EnversService
public GlobalConfiguration getGlobalConfiguration()
getGlobalConfiguration
in interface EnversService
public AuditEntitiesConfiguration getAuditEntitiesConfiguration()
getAuditEntitiesConfiguration
in interface EnversService
public AuditProcessManager getAuditProcessManager()
getAuditProcessManager
in interface EnversService
public AuditStrategy getAuditStrategy()
getAuditStrategy
in interface EnversService
public EntitiesConfigurations getEntitiesConfigurations()
getEntitiesConfigurations
in interface EnversService
public RevisionInfoQueryCreator getRevisionInfoQueryCreator()
getRevisionInfoQueryCreator
in interface EnversService
public RevisionInfoNumberReader getRevisionInfoNumberReader()
getRevisionInfoNumberReader
in interface EnversService
public ModifiedEntityNamesReader getModifiedEntityNamesReader()
getModifiedEntityNamesReader
in interface EnversService
public ClassLoaderService getClassLoaderService()
getClassLoaderService
in interface EnversService
public ServiceRegistry getServiceRegistry()
getServiceRegistry
in interface EnversService
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.