Class DefaultChangeLogPrepare
- java.lang.Object
-
- io.ebeaninternal.server.changelog.DefaultChangeLogPrepare
-
- All Implemented Interfaces:
ChangeLogPrepare
public class DefaultChangeLogPrepare extends Object implements ChangeLogPrepare
Placeholder/default implementation that does not do anything.Generally an implementation should be provided that reads context information such as user id and user ip address etc and sets that on the changeSet.
-
-
Constructor Summary
Constructors Constructor Description DefaultChangeLogPrepare()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
prepare(ChangeSet changeSet)
Just return true to send change set through to the logger.
-
-
-
Constructor Detail
-
DefaultChangeLogPrepare
public DefaultChangeLogPrepare()
-
-
Method Detail
-
prepare
public boolean prepare(ChangeSet changeSet)
Just return true to send change set through to the logger.- Specified by:
prepare
in interfaceChangeLogPrepare
- Returns:
- true if the changeLog should then be sent to the log method in a background thread.
-
-