Package org.strecks.injection.annotation

Examples of org.strecks.injection.annotation.InjectScopedAttribute


public class ScopedAttributeFactory implements InjectionHandlerFactory
{

  public InjectionHandler createInjectionHandler(Annotation annotation, Class clazz, PropertyDescriptor propertyDescriptor)
  {
    InjectScopedAttribute input = (InjectScopedAttribute) annotation;
    String attributeName = AnnotationFactoryUtils.getAttributeName(propertyDescriptor.getName(), input.name());
    ScopedAttributeInjectionHandler handler = new ScopedAttributeInjectionHandler(attributeName);
    return handler;
  }
View Full Code Here

TOP

Related Classes of org.strecks.injection.annotation.InjectScopedAttribute

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.