| Modifier and Type | Field and Description |
|---|---|
static QName |
LOCATION_KEY |
static QName |
ROOT_CONTAINER_NAME_KEY |
ANNOTATIONS_PROPERTY_NAME| Constructor and Description |
|---|
AbstractComponent() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAnnotation(QName qName)
Gets the value of specified annotation.
|
Map<QName,Object> |
getAnnotations()
Gets all annotations.
|
ComponentLocation |
getLocation() |
Location |
getRootContainerLocation()
The actual root container component location.
|
void |
setAnnotations(Map<QName,Object> newAnnotations)
Sets annotations to the object.
|
public static QName LOCATION_KEY
public static QName ROOT_CONTAINER_NAME_KEY
public Object getAnnotation(QName qName)
ComponentgetAnnotation in interface Componentpublic Map<QName,Object> getAnnotations()
ComponentgetAnnotations in interface Componentpublic void setAnnotations(Map<QName,Object> newAnnotations)
ComponentsetAnnotations in interface Componentpublic ComponentLocation getLocation()
getLocation in interface Componentnull if this object was generated
programmatically and not from a configuration element.public Location getRootContainerLocation()
ComponentComponentLocation#getRootContainerLocation().getRootContainerLocation in interface ComponentCopyright © 2017 MuleSoft, Inc.. All rights reserved.