org.mule.impl.annotations.processors
Class InjectAnnotationProcessor

java.lang.Object
  extended by org.mule.impl.annotations.processors.InjectAnnotationProcessor
All Implemented Interfaces:
MuleContextAware, InjectProcessor, ObjectProcessor

public class InjectAnnotationProcessor
extends Object
implements InjectProcessor, MuleContextAware

Processes the JSR-330 Inject annotation. This can be used for injecting objects in the registry into user object/beans. THis annotation injects by type. To inject by key use the Named annotation.


Field Summary
protected  Log logger
          logger used by this class
 
Constructor Summary
InjectAnnotationProcessor()
           
InjectAnnotationProcessor(MuleContext context)
           
 
Method Summary
 Object process(Object object)
           
 void setMuleContext(MuleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final transient Log logger
logger used by this class

Constructor Detail

InjectAnnotationProcessor

public InjectAnnotationProcessor()

InjectAnnotationProcessor

public InjectAnnotationProcessor(MuleContext context)
Method Detail

setMuleContext

public void setMuleContext(MuleContext context)
Specified by:
setMuleContext in interface MuleContextAware

process

public Object process(Object object)
Specified by:
process in interface ObjectProcessor


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.