|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.robokind.api.common.osgi.lifecycle.DependencyDescriptor
public class DependencyDescriptor
Describes a service dependency of a ServiceLifecycleProvider. Used to match find and track the appropriate services needed by a lifecycle provider.
| Constructor Summary | |
|---|---|
DependencyDescriptor(String dependencyId,
Class clazz,
String filter)
Create a new DependencyDescriptor with the given values. |
|
| Method Summary | |
|---|---|
static DependencyDescriptor |
buildForServiceId(String localId,
Class clazz,
String idPropertyName,
String serviceId,
String filter)
Builds a descriptor for a service with a given id. |
String |
getDependencyId()
Returns the local id String used within a ServiceLifecycleProvider. |
Class |
getServiceClass()
Returns the Class of dependency. |
String |
getServiceFilter()
Returns an OSGi filter string for the dependency, null if it is not set. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DependencyDescriptor(String dependencyId,
Class clazz,
String filter)
dependencyId - local id used within a ServiceLifecycleProviderclazz - Class of the dependencyfilter - optional OSGi filter string| Method Detail |
|---|
public static DependencyDescriptor buildForServiceId(String localId,
Class clazz,
String idPropertyName,
String serviceId,
String filter)
localId - string used to identify this dependency within a
ServiceLifecycleProviderclazz - class of the dependencyidPropertyName - property name for the service's idserviceId - the service id the dependency must matchfilter - optional filter string the dependency must match. This may
be left null.
public String getDependencyId()
public Class getServiceClass()
public String getServiceFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||