public final class AuditMetadataGenerator extends Object
Constructor and Description |
---|
AuditMetadataGenerator(MetadataImplementor metadata,
ServiceRegistry serviceRegistry,
GlobalConfiguration globalCfg,
AuditEntitiesConfiguration verEntCfg,
AuditStrategy auditStrategy,
org.dom4j.Element revisionInfoRelationMapping,
AuditEntityNameRegister auditEntityNameRegister) |
Modifier and Type | Method and Description |
---|---|
void |
generateFirstPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData,
boolean isAudited) |
void |
generateSecondPass(PersistentClass pc,
ClassAuditingData auditingData,
EntityXmlMappingData xmlMappingData) |
protected String |
getCatalog(String catalogFromAnnotation,
Table table) |
ClassLoaderService |
getClassLoaderService() |
Map<String,EntityConfiguration> |
getEntitiesConfigurations() |
MetadataImplementor |
getMetadata() |
Map<String,EntityConfiguration> |
getNotAuditedEntitiesConfigurations()
Get the notAuditedEntitiesConfigurations property.
|
protected String |
getSchema(String schemaFromAnnotation,
Table table) |
ServiceRegistry |
getServiceRegistry() |
public AuditMetadataGenerator(MetadataImplementor metadata, ServiceRegistry serviceRegistry, GlobalConfiguration globalCfg, AuditEntitiesConfiguration verEntCfg, AuditStrategy auditStrategy, org.dom4j.Element revisionInfoRelationMapping, AuditEntityNameRegister auditEntityNameRegister)
public MetadataImplementor getMetadata()
public ServiceRegistry getServiceRegistry()
public ClassLoaderService getClassLoaderService()
public void generateFirstPass(PersistentClass pc, ClassAuditingData auditingData, EntityXmlMappingData xmlMappingData, boolean isAudited)
public void generateSecondPass(PersistentClass pc, ClassAuditingData auditingData, EntityXmlMappingData xmlMappingData)
public Map<String,EntityConfiguration> getEntitiesConfigurations()
public Map<String,EntityConfiguration> getNotAuditedEntitiesConfigurations()
Copyright © 2017 JBoss by Red Hat. All rights reserved.