T - the type of the object to be created, which should be an AnnotatedObject.public abstract class AbstractAnnotatedObjectFactory<T> extends Object implements AnnotatedObjectFactory<T>
AnnotatedObjectFactory that handles all annotation related behavior including
ObjectFactory.getObject().| Constructor and Description |
|---|
AbstractAnnotatedObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract T |
doGetObject()
Method to be implemented instead of
ObjectFactory.getObject(). |
Object |
getAnnotation(QName qName) |
Map<QName,Object> |
getAnnotations() |
org.mule.runtime.api.component.location.ComponentLocation |
getLocation() |
T |
getObject() |
void |
setAnnotations(Map<QName,Object> newAnnotations) |
public final Object getAnnotation(QName qName)
getAnnotation in interface org.mule.runtime.api.meta.AnnotatedObjectpublic final Map<QName,Object> getAnnotations()
getAnnotations in interface org.mule.runtime.api.meta.AnnotatedObjectpublic org.mule.runtime.api.component.location.ComponentLocation getLocation()
getLocation in interface org.mule.runtime.api.meta.AnnotatedObjectpublic final void setAnnotations(Map<QName,Object> newAnnotations)
setAnnotations in interface org.mule.runtime.api.meta.AnnotatedObjectpublic abstract T doGetObject() throws Exception
ObjectFactory.getObject().Exception - if any failure occurs building the objectCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.