Package org.apache.geronimo.kernel.basic

Examples of org.apache.geronimo.kernel.basic.ProxyMethodInterceptor


    public synchronized void destroyProxy(Object proxy) {
        if (proxy == null) {
            return;
        }

        ProxyMethodInterceptor methodInterceptor = (ProxyMethodInterceptor) interceptors.remove(proxy);
        if (methodInterceptor != null) {
            methodInterceptor.destroy();
        }
    }
View Full Code Here


    public boolean isProxy(Object proxy) {
        return interceptors.containsKey(proxy);
    }

    public synchronized ObjectName getProxyTarget(Object proxy) {
        ProxyMethodInterceptor methodInterceptor = (ProxyMethodInterceptor) interceptors.remove(proxy);
        if (methodInterceptor == null) {
            return null;
        }
        return methodInterceptor.getObjectName();
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.kernel.basic.ProxyMethodInterceptor

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.