Package org.springframework.osgi.config.internal.util

Examples of org.springframework.osgi.config.internal.util.ServiceAttributeCallback


  }

  protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {

    // do conversion for some of them (mainly enums)
    ParserUtils.parseCustomAttributes(element, builder, new AttributeCallback[] { new ServiceAttributeCallback(),
      new UpdateStrategyAttributeCallback() });

    // get nested elements
    NodeList children = element.getChildNodes();
View Full Code Here


  }

  protected void doParse(Element element, ParserContext parserContext, BeanDefinitionBuilder builder) {
    builder.setRole(BeanDefinition.ROLE_INFRASTRUCTURE);
    // parse attributes
    ParserUtils.parseCustomAttributes(element, builder, new ServiceAttributeCallback());

    // determine nested/referred beans
    Object target = null;
    if (element.hasAttribute(REF))
      target = new RuntimeBeanReference(element.getAttribute(REF));
View Full Code Here

TOP

Related Classes of org.springframework.osgi.config.internal.util.ServiceAttributeCallback

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.