I know I should define decorators in a configuration file or my own subclass of ConfigurableSiteMeshFilter. For example:
ConfigurableSiteMeshFilter
public class SitemeshFilter