Package org.springframework.ide.eclipse.aop.core.internal.model

Examples of org.springframework.ide.eclipse.aop.core.internal.model.BeanIntroductionDefinition


            targetClass = ClassUtils.loadClass(className, loader);
          }

          // handle introductions first
          if (info instanceof BeanIntroductionDefinition) {
            BeanIntroductionDefinition intro = (BeanIntroductionDefinition) info;
            if (intro.getTypeMatcher().matches(targetClass)) {
              IMember jdtAspectMember = null;
              if (intro instanceof AnnotationIntroductionDefinition) {
                String fieldName = ((AnnotationIntroductionDefinition) intro).getDefiningField();
                jdtAspectMember = jdtAspectType.getField(fieldName);
              }
View Full Code Here


        String implementInterface = getAttribute(aspectNode, IMPLEMENT_INTERFACE_ATTRIBUTE);
        String delegateRef = getAttribute(aspectNode, DELEGATE_REF_ATTRIBUTE);
        if (StringUtils.hasText(typesMatching)
            && (StringUtils.hasText(defaultImpl) || StringUtils.hasText(delegateRef))
            && StringUtils.hasText(implementInterface)) {
          info = new BeanIntroductionDefinition();
          ((BeanIntroductionDefinition) info)
              .setIntroducedInterfaceName(implementInterface);
          ((BeanIntroductionDefinition) info).setTypePattern(typesMatching);
          if (StringUtils.hasText(delegateRef)) {
            Node delegateBean = BeansEditorUtils.getFirstReferenceableNodeById(
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.aop.core.internal.model.BeanIntroductionDefinition

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.