293031323334353637
}); conf.getPageInterceptorList().add(new SamplePageInterceptor()); DefaultSnippetInvoker snippetInvoker = ((DefaultSnippetInvoker) conf.getSnippetInvoker()); snippetInvoker.getSnippetInterceptorList().add(new SampleSnippetInterceptor()); return conf; }