org.apache.felix.scrplugin.description
Class AbstractDescription
java.lang.Object
org.apache.felix.scrplugin.description.AbstractDescription
- Direct Known Subclasses:
- ComponentDescription, PropertyDescription, ReferenceDescription, ServiceDescription
public abstract class AbstractDescription
- extends java.lang.Object
AbstractDescription is the base class for all descriptions.
- See Also:
ComponentDescription,
ServiceDescription,
ReferenceDescription,
PropertyDescription
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
annotation
protected final ScannedAnnotation annotation
- The corresponding annotation from the class file.
AbstractDescription
public AbstractDescription(ScannedAnnotation annotation)
- Create a new abstract description
- Parameters:
annotation - The corresponding annotation.
getAnnotation
public ScannedAnnotation getAnnotation()
- Get the annotation.
- Returns:
- The annotation or
null
setSource
public void setSource(java.lang.String location)
getSource
public java.lang.String getSource()
getIdentifier
public java.lang.String getIdentifier()
clone
public abstract AbstractDescription clone()
- Overrides:
clone in class java.lang.Object
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.