I think I get your question - you want to have a customization.jar file that you want to drop into the existing jpa-server without touching that jpa code.
Create a class tagged with @Configuration. In this class, use a method with @PostConstruct to register your interceptor with the restfulServer.
restfulServer is @Autowired. and your custom interceptor should also be @Autowired. but setting the ```registerInterceptor``` doesn't happen automatically (we have seen the same thing). See source code below.
Then start it all up and see if you can get your interceptor to fire.
@Configuration
public class CustomOperationConfig {
@Autowired
private RestfulServer restfulServer;
@Autowired
private MyInterceptor
myInterceptor;
@PostConstruct
public void registerProviders() {
restfulServer.registerInterceptor(myInterceptor);
}
}