/**
* Wraps the bean to assure only that only methods of the published service
* can be accessed.
*/
private Object shieldJavaService(Class serviceInterface, Object bean, Module module, ClassLoader classLoader) {
JavaServiceShield handler = new JavaServiceShield(bean, module, serviceInterface, classLoader);
return Proxy.newProxyInstance(classLoader, new Class[] { serviceInterface }, handler);
}