public class CaseInstanceAuditLoggerFactory extends Object
| Constructor and Description |
|---|
CaseInstanceAuditLoggerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static AsyncCaseInstanceAuditEventProducer |
newJMSInstance(boolean transacted,
javax.jms.ConnectionFactory connFactory,
javax.jms.Queue queue)
Creates new instance of JMS case instance audit logger based on given connection factory and queue.
|
static AsyncCaseInstanceAuditEventProducer |
newJMSInstance(Map<String,Object> properties)
Creates new instance of JMS case instance audit logger based on given parameters.
|
static CaseInstanceAuditEventListener |
newJPAInstance(javax.persistence.EntityManagerFactory emf)
Creates new instance of JPA case instance audit logger with given entity manager factory
|
static CaseInstanceAuditEventListener |
newJPAInstance(TransactionalCommandService transactionalCommandService)
Creates new instance of JPA case instance audit logger
|
public static CaseInstanceAuditEventListener newJPAInstance(TransactionalCommandService transactionalCommandService)
transactionalCommandService - command service to be usedpublic static CaseInstanceAuditEventListener newJPAInstance(javax.persistence.EntityManagerFactory emf)
enf - EntityManagerFactory instance to be usedpublic static AsyncCaseInstanceAuditEventProducer newJMSInstance(Map<String,Object> properties)
properties - - optional properties for the type of logger to initialize itpublic static AsyncCaseInstanceAuditEventProducer newJMSInstance(boolean transacted, javax.jms.ConnectionFactory connFactory, javax.jms.Queue queue)
transacted - determines if JMS session is transacted or notconnFactory - connection factory instancequeue - JMS queue instanceCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.