org.mule.impl.annotations.processors
Class AnnotatedServiceObjectProcessor
java.lang.Object
org.mule.impl.annotations.processors.AnnotatedServiceObjectProcessor
- All Implemented Interfaces:
- MuleContextAware, ObjectProcessor, PreInitProcessor
public class AnnotatedServiceObjectProcessor
- extends Object
- implements PreInitProcessor, MuleContextAware
This object processor allows users to register annotated services directly to the registry
and have them configured correctly.
It will look for a non-system Model registered with the Registry.
If one is not found a default SEDA Model will be created
Finally, the processor will register the service with the Registry and return null.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected MuleContext context
AnnotatedServiceObjectProcessor
public AnnotatedServiceObjectProcessor()
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext in interface MuleContextAware
process
public Object process(Object object)
- Specified by:
process in interface ObjectProcessor
getOrCreateModel
protected Model getOrCreateModel()
createModel
protected Model createModel()
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.