|
||||||||||
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
Service Dependency Description.
Constructor Summary | |
---|---|
DependencyDescription(Dependency dep)
Creates a dependency description. |
Method Summary | |
---|---|
String |
getComparator()
|
String |
getDefaultImplementation()
|
String |
getFilter()
|
String |
getId()
|
String |
getInterface()
|
int |
getPolicy()
|
ServiceReference |
getServiceReference()
Gets the service reference if only one service reference is used. |
List |
getServiceReferences()
Gets the service reference list. |
String |
getSpecification()
Gets the required service specification name. |
int |
getState()
|
List |
getUsedServices()
Gets the used service set. |
boolean |
isFrozen()
|
boolean |
isMultiple()
|
boolean |
isOptional()
|
void |
setAggregate(boolean isAgg)
Sets the dependency cardinality. |
void |
setComparator(Comparator cmp)
Sets the dependency comparator. |
void |
setFilter(Filter filter)
Sets the dependency filter. |
void |
setOptional(boolean isOpt)
Sets the dependency optionality. |
boolean |
supportsNullable()
Gets true if the dependency uses Nullable objects. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DependencyDescription(Dependency dep)
dep
- the described dependencyMethod Detail |
---|
public boolean isMultiple()
public boolean isOptional()
public String getFilter()
public String getInterface()
public int getState()
public String getId()
public boolean supportsNullable()
true
if the dependency uses Nullable objects.
public String getDefaultImplementation()
public int getPolicy()
public String getComparator()
public boolean isFrozen()
public List getServiceReferences()
null
if no service reference.public ServiceReference getServiceReference()
null
if no service reference.public List getUsedServices()
null
if no providers are usedpublic void setComparator(Comparator cmp)
cmp
- the comparatorpublic void setFilter(Filter filter)
filter
- the new LDAP filterpublic void setAggregate(boolean isAgg)
isAgg
- if true
sets the dependency to aggregate,
if false
sets the dependency to scalar.public void setOptional(boolean isOpt)
isOpt
- if true
sets the dependency to optional,
if false
sets the dependency to mandatory.public String getSpecification()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |