public class ExportedService extends java.lang.Object implements HandlerConfiguration
| Constructor and Description |
|---|
ExportedService() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.felix.ipojo.metadata.Element |
getElement()
Gets the exported service metadata.
|
ExportedService |
setAggregate(boolean agg)
Sets the dependency cardinality.
|
ExportedService |
setBindingPolicy(int policy)
Sets the dependency binding policy.
|
ExportedService |
setComparator(java.lang.String cmp)
Sets the dependency comparator.
|
ExportedService |
setFilter(java.lang.String filter)
Sets the dependency filter.
|
ExportedService |
setOptional(boolean opt)
Sets the dependency optionality.
|
ExportedService |
setSpecification(java.lang.String spec)
Sets the required service specification.
|
public org.apache.felix.ipojo.metadata.Element getElement()
getElement in interface HandlerConfigurationpublic ExportedService setSpecification(java.lang.String spec)
spec - the specificationpublic ExportedService setFilter(java.lang.String filter)
filter - the LDAP filterpublic ExportedService setOptional(boolean opt)
opt - true to set the
dependency to optional.public ExportedService setAggregate(boolean agg)
agg - true to set the
dependency to aggregate.public ExportedService setBindingPolicy(int policy)
policy - the binding policypublic ExportedService setComparator(java.lang.String cmp)
cmp - the comparator class nameCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.