@Override
public Facet decorate(final Facet facet, final FacetHolder requiredHolder) {
final Class<? extends Facet> facetType = facet.facetType();
if (facetType == ActionInvocationFacet.class) {
final ActionInvocationFacet decoratedFacet = (ActionInvocationFacet) facet;
final Facet decoratingFacet = new ActionInvocationFacetWrapTransaction(decoratedFacet);
requiredHolder.addFacet(decoratingFacet);
return decoratingFacet;
}