Package org.osoa.sca.annotations

Examples of org.osoa.sca.annotations.Context


    public ContextProcessor() {
    }

    public void visitMethod(Method method, ComponentType type) throws ConfigurationLoadException {
        Context context = method.getAnnotation(Context.class);
        if (context == null) {
            return;
        }
        type.getExtensibilityElements().add(new ContextExtensibilityElement(method));
    }
View Full Code Here


        }
        type.getExtensibilityElements().add(new ContextExtensibilityElement(method));
    }

    public void visitField(Field field, ComponentType type) throws ConfigurationLoadException {
        Context context = field.getAnnotation(Context.class);
        if (context == null) {
            return;
        }
        type.getExtensibilityElements().add(new ContextExtensibilityElement(field));
    }
View Full Code Here

TOP

Related Classes of org.osoa.sca.annotations.Context

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.