Package org.more.classcode

Examples of org.more.classcode.AbstractClassConfig


public class InnerChainPropertyDelegate implements PropertyDelegate<Object> {
    private PropertyDelegate<Object> propertyDelegate = null;
    //
    public InnerChainPropertyDelegate(String className, String propertyName, ClassLoader loader) throws NoSuchFieldException {
        if (loader instanceof MoreClassLoader) {
            AbstractClassConfig cc = ((MoreClassLoader) loader).findClassConfig(className);
            if (cc != null && cc instanceof PropertyClassConfig) {
                PropertyClassConfig proCC = (PropertyClassConfig) cc;
                this.propertyDelegate = proCC.getPropertyDelegate(propertyName);
            }
        }
View Full Code Here


    public InnerAopInvocation(String targetMethodDesc, final Method targetMethod, final AopInvocation proceedingChain) {
        Class<?> targetClass = targetMethod.getDeclaringClass();
        ClassLoader loader = targetClass.getClassLoader();
        if (loader instanceof MoreClassLoader) {
            String className = targetMethod.getDeclaringClass().getName();
            AbstractClassConfig cc = ((MoreClassLoader) loader).findClassConfig(className);
            if (cc != null && cc instanceof AopClassConfig) {
                AopClassConfig aopCC = (AopClassConfig) cc;
                this.interceptorDefinitions = aopCC.findInterceptor(targetMethodDesc);
            }
        }
View Full Code Here

public class InnerChainMethodDelegate implements MethodDelegate {
    private MethodDelegate methodDelegate = null;
    //
    public InnerChainMethodDelegate(String className, String delegateClassName, ClassLoader loader) {
        if (loader instanceof MoreClassLoader) {
            AbstractClassConfig cc = ((MoreClassLoader) loader).findClassConfig(className);
            if (cc != null && cc instanceof MethodClassConfig) {
                MethodClassConfig methodCC = (MethodClassConfig) cc;
                this.methodDelegate = methodCC.getMethodDelegate(delegateClassName);
            }
        }
View Full Code Here

TOP

Related Classes of org.more.classcode.AbstractClassConfig

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.