Package org.apache.cayenne.commitlog
Class CommitLogModule
- java.lang.Object
-
- org.apache.cayenne.commitlog.CommitLogModule
-
- All Implemented Interfaces:
org.apache.cayenne.di.Module
public class CommitLogModule extends Object implements org.apache.cayenne.di.Module
Auto-loadable module that enables gathering of commit log information for Cayenne stack. To add custom listeners to receive commit log events, implementCommitLogListenerand register it usingextend().- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description CommitLogModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.apache.cayenne.di.Binder binder)static CommitLogModuleExtenderextend()Starts an extension module builder to add listeners and/or other customizations forCommitLogModule.
-
-
-
Method Detail
-
extend
public static CommitLogModuleExtender extend()
Starts an extension module builder to add listeners and/or other customizations forCommitLogModule.- Returns:
- a new builder of
CommitLogModuleextensions. - See Also:
CommitLogListener
-
configure
public void configure(org.apache.cayenne.di.Binder binder)
- Specified by:
configurein interfaceorg.apache.cayenne.di.Module
-
-