Class LoggingSessionFactory
- java.lang.Object
-
- org.flowable.common.engine.impl.logging.LoggingSessionFactory
-
- All Implemented Interfaces:
SessionFactory
public class LoggingSessionFactory extends Object implements SessionFactory
-
-
Field Summary
Fields Modifier and Type Field Description protected LoggingListenerloggingListenerprotected com.fasterxml.jackson.databind.ObjectMapperobjectMapper
-
Constructor Summary
Constructors Constructor Description LoggingSessionFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoggingListenergetLoggingListener()com.fasterxml.jackson.databind.ObjectMappergetObjectMapper()Class<?>getSessionType()SessionopenSession(CommandContext commandContext)voidsetLoggingListener(LoggingListener loggingListener)voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
-
Field Detail
-
loggingListener
protected LoggingListener loggingListener
-
objectMapper
protected com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Method Detail
-
getSessionType
public Class<?> getSessionType()
- Specified by:
getSessionTypein interfaceSessionFactory
-
openSession
public Session openSession(CommandContext commandContext)
- Specified by:
openSessionin interfaceSessionFactory
-
getLoggingListener
public LoggingListener getLoggingListener()
-
setLoggingListener
public void setLoggingListener(LoggingListener loggingListener)
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-