requiredHolder.addFacet(decoratingFacet);
return decoratingFacet;
}
if (facetType == ActionInvocationFacet.class) {
final ActionInvocationFacet invocationFacet = (ActionInvocationFacet) facet;
final ObjectAction objectAction = (ObjectAction) requiredHolder;
final ActionInvocationFacetWrapProxy decoratingFacet = new ActionInvocationFacetWrapProxy(invocationFacet, serverFacade, encoderDecoder, objectAction);
requiredHolder.addFacet(decoratingFacet);
return decoratingFacet;
}