Package org.fcrepo.kernel.impl.observer
Class EventAccumulatorImpl
java.lang.Object
org.fcrepo.kernel.impl.observer.EventAccumulatorImpl
- All Implemented Interfaces:
org.fcrepo.kernel.api.observer.EventAccumulator
@Component
public class EventAccumulatorImpl
extends Object
implements org.fcrepo.kernel.api.observer.EventAccumulator
- Author:
- pwinckles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclearEvents(org.fcrepo.kernel.api.Transaction transaction) voidemitEvents(org.fcrepo.kernel.api.Transaction transaction, String baseUrl, String userAgent) voidrecordEventForOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId fedoraId, org.fcrepo.kernel.api.operations.ResourceOperation operation)
-
Constructor Details
-
EventAccumulatorImpl
public EventAccumulatorImpl()
-
-
Method Details
-
recordEventForOperation
public void recordEventForOperation(org.fcrepo.kernel.api.Transaction transaction, org.fcrepo.kernel.api.identifiers.FedoraId fedoraId, org.fcrepo.kernel.api.operations.ResourceOperation operation) - Specified by:
recordEventForOperationin interfaceorg.fcrepo.kernel.api.observer.EventAccumulator
-
emitEvents
public void emitEvents(org.fcrepo.kernel.api.Transaction transaction, String baseUrl, String userAgent) - Specified by:
emitEventsin interfaceorg.fcrepo.kernel.api.observer.EventAccumulator
-
clearEvents
- Specified by:
clearEventsin interfaceorg.fcrepo.kernel.api.observer.EventAccumulator
-