Package org.lilyproject.runtime.module.javaservice

Examples of org.lilyproject.runtime.module.javaservice.JavaServiceShield


    /**
     * 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);
    }
View Full Code Here

TOP

Related Classes of org.lilyproject.runtime.module.javaservice.JavaServiceShield

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.