Content Server Manual / Version 2201
Table Of ContentsThe Content Server provides extension points to modify its behavior.
Extending the Publisher
The publisher provides extension points to modify published contents on the fly. You might for example prevent certain blob properties of a document from being transferred to the Master Live Server. To do so, implement the interface PublishInterceptor or better extend PublishInterceptorBase and add the interceptor bean to the application context. It will be automatically called on publication if the interceptor declares to be applicable for the given content type.
One example for such an interceptor is available for CoreMedia Asset Management. Have a look at Section 6.6.4.4, “Configure Rendition Publication” in Blueprint Developer Manual for more information.
Caution
You must not (and you cannot) modify any internal links during publication. This includes links within markup. Trying to do so will fail the publication with an exception.