|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.handlers.dependency.DependencyDescription
public class DependencyDescription
Dependency Description.
Constructor Summary | |
---|---|
DependencyDescription(java.lang.String itf,
boolean multiple,
boolean optional,
java.lang.String filter,
int state)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getFilter()
|
java.lang.String |
getInterface()
|
org.osgi.framework.ServiceReference |
getServiceReference()
Get the service reference if only 1 used. |
java.util.List |
getServiceReferences()
Get the service reference list. |
int |
getState()
|
java.util.List |
getUsedServices()
Get the used service set. |
boolean |
isMultiple()
|
boolean |
isOptional()
|
void |
setServiceReferences(java.util.List refs)
Set the service reference array. |
void |
setUsedServices(java.util.List usages)
Set the usedServices. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyDescription(java.lang.String itf, boolean multiple, boolean optional, java.lang.String filter, int state)
itf
- : the needed interfacemultiple
- : is the dependency a multiple dependency ?optional
- : is the dependency optional ?filter
- : the filterstate
- : the stateMethod Detail |
---|
public boolean isMultiple()
public boolean isOptional()
public java.lang.String getFilter()
public java.lang.String getInterface()
public int getState()
public java.util.List getServiceReferences()
public org.osgi.framework.ServiceReference getServiceReference()
public void setServiceReferences(java.util.List refs)
refs
- : the list of service referencepublic java.util.List getUsedServices()
public void setUsedServices(java.util.List usages)
usages
- : the list of used service reference.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |