Interface Transactional
-
- All Known Implementing Classes:
AbstractCollectionAdapter,AbstractEntityCollectionAdapter,AbstractMultipartCollectionAdapter,BasicAdapter,ManagedCollectionAdapter
@Deprecated public interface Transactional
Deprecated.Legacy AEM 6.x API.CollectionAdapter implementations can implement the Transactional interface in order to support start/end/compensate behaviors. Providers will invoke the start/end methods before/after calling the appropriate CollectionAdapter methods and will call compensate if an error occurs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidcompensate(RequestContext request, Throwable t)Deprecated.Called by the provider when a processing error occursvoidend(RequestContext request, ResponseContext response)Deprecated.Called by the provider after dispatching the request to the adaptervoidstart(RequestContext request)Deprecated.Called by the provider before dispatching the request to the adapter
-
-
-
Method Detail
-
start
void start(RequestContext request) throws ResponseContextException
Deprecated.Called by the provider before dispatching the request to the adapter- Throws:
ResponseContextException
-
end
void end(RequestContext request, ResponseContext response)
Deprecated.Called by the provider after dispatching the request to the adapter
-
compensate
void compensate(RequestContext request, Throwable t)
Deprecated.Called by the provider when a processing error occurs
-
-