Examples of StereotypeVisitorFactory


Examples of org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.stereotype.StereotypeVisitorFactory

        public StereotypeBindingBuilder(final List<Binding> bindings, final Class<? extends Annotation> type) {
            m_annotationType = new AnnotationType(Type.getType(type));
            Binding binding = new Binding();
            binding.setAnnotationType(m_annotationType.getType());
            binding.setPredicate(onlySupportedElements(type));
            binding.setFactory(new StereotypeVisitorFactory(m_annotationType));
            bindings.add(binding);
        }
View Full Code Here

Examples of org.apache.felix.ipojo.manipulator.metadata.annotation.visitor.stereotype.StereotypeVisitorFactory

        if (stereotypeDiscovery.isStereotype()) {
            m_reporter.trace("@Stereotype detected: @%s", type.getClassName());
            Binding binding = new Binding();
            binding.setAnnotationType(type);
            binding.setPredicate(alwaysTrue());
            binding.setFactory(new StereotypeVisitorFactory(annotationType));

            bindings.add(binding);
        }

        // @HandlerBinding support
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.