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 Set<String> |
interfaces
The list of implemented interfaces.
|
annotation
Constructor and Description |
---|
ServiceDescription(ScannedAnnotation annotation) |
Modifier and Type | Method and Description |
---|---|
void |
addInterface(String interf)
Add an interface to the list of interfaces.
|
AbstractDescription |
clone() |
Set<String> |
getInterfaces() |
boolean |
isServiceFactory() |
void |
setServiceFactory(boolean flag) |
String |
toString() |
getAnnotation, getIdentifier, getSource, setSource
public ServiceDescription(ScannedAnnotation annotation)
public boolean isServiceFactory()
public void setServiceFactory(boolean flag)
public void addInterface(String interf)
interf
- The interface.public AbstractDescription clone()
clone
in class AbstractDescription
Copyright © 2006–2024 The Apache Software Foundation. All rights reserved.