public class ServiceDescription extends AbstractDescription
ClassDescription
should
contain a ServiceDescription
.
The service description defines whether this is a service factory
and which interfaces this service implements.Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.String> |
interfaces
The list of implemented interfaces.
|
annotation
Constructor and Description |
---|
ServiceDescription(ScannedAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
void |
addInterface(java.lang.String interf)
Add an interface to the list of interfaces.
|
AbstractDescription |
clone() |
java.util.Set<java.lang.String> |
getInterfaces() |
boolean |
isServiceFactory() |
void |
setServiceFactory(boolean flag) |
java.lang.String |
toString() |
getAnnotation, getIdentifier, getSource, setSource
protected final java.util.Set<java.lang.String> interfaces
public ServiceDescription(ScannedAnnotation annotation)
public boolean isServiceFactory()
public void setServiceFactory(boolean flag)
public java.util.Set<java.lang.String> getInterfaces()
public void addInterface(java.lang.String interf)
interf
- The interface.public java.lang.String toString()
toString
in class java.lang.Object
public AbstractDescription clone()
clone
in class AbstractDescription
Copyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.