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;
}