Class DefaultAuditRequestEventConverter
java.lang.Object
com.broadleafcommerce.common.audit.DefaultAuditRequestEventConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.Converter<AuditRequestEvent,
,AuditEvent> org.springframework.core.Ordered
public class DefaultAuditRequestEventConverter
extends Object
implements org.springframework.core.convert.converter.Converter<AuditRequestEvent,AuditEvent>, org.springframework.core.Ordered
Default pass-through converter for
AuditRequestEvent
to AuditEvent
. If more
specific converters are needed, they should be added to the application context and ordered with
higher precedence.-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.core.convert.converter.Converter
andThen
-
Constructor Details
-
DefaultAuditRequestEventConverter
public DefaultAuditRequestEventConverter()
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
convert
- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.Converter<AuditRequestEvent,
AuditEvent>
-