org.apache.felix.scrplugin.description
Class ServiceDescription
java.lang.Object
org.apache.felix.scrplugin.description.AbstractDescription
org.apache.felix.scrplugin.description.ServiceDescription
public class ServiceDescription
- extends AbstractDescription
If a component is a service, the ClassDescription
should
contain a ServiceDescription
.
The service description defines whether this is a service factory
and which interfaces this service implements.
Field Summary |
protected java.util.Set<java.lang.String> |
interfaces
The list of implemented interfaces. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
interfaces
protected final java.util.Set<java.lang.String> interfaces
- The list of implemented interfaces.
ServiceDescription
public ServiceDescription(ScannedAnnotation annotation)
isServiceFactory
public boolean isServiceFactory()
setServiceFactory
public void setServiceFactory(boolean flag)
getInterfaces
public java.util.Set<java.lang.String> getInterfaces()
addInterface
public void addInterface(java.lang.String interf)
- Add an interface to the list of interfaces.
- Parameters:
interf
- The interface.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public AbstractDescription clone()
- Specified by:
clone
in class AbstractDescription
Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.