org.mule.config
Class AnnotationsConfigurationBuilder
java.lang.Object
org.mule.config.builders.AbstractConfigurationBuilder
org.mule.config.AnnotationsConfigurationBuilder
- All Implemented Interfaces:
- ConfigurationBuilder
public class AnnotationsConfigurationBuilder
- extends AbstractConfigurationBuilder
Enables Mule annotation processing so that annotated objects registered with the
Mule registry will automatically be configured. This helper also enables JSR-330
injection annotations javax.inject.Inject and
javax.inject.Named.
Internal Implementation note: We could have used a 'registry-bootstrap.properties'
file to load the objects necessary to enable annotations however, that method
would not allow the annotation processors to be easily overridden when using other
platforms such as Google App Engine.
- Since:
- 3.0
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationsConfigurationBuilder
public AnnotationsConfigurationBuilder()
doConfigure
protected void doConfigure(MuleContext muleContext)
throws Exception
- Specified by:
doConfigure in class AbstractConfigurationBuilder
- Throws:
Exception
createAnnotationsParserFactory
protected AnnotationsParserFactory createAnnotationsParserFactory()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.