|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.api.composite.ExportedService
public class ExportedService
Allows defining an exported service. A service export is the publication of service from the composite to the parent composite or global registry. The service export relies on a service dependency inside the composite. Matching services will be exported.
Constructor Summary | |
---|---|
ExportedService()
|
Method Summary | |
---|---|
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(String cmp)
Sets the dependency comparator. |
ExportedService |
setFilter(String filter)
Sets the dependency filter. |
ExportedService |
setOptional(boolean opt)
Sets the dependency optionality. |
ExportedService |
setSpecification(String spec)
Sets the required service specification. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExportedService()
Method Detail |
---|
public Element getElement()
getElement
in interface HandlerConfiguration
public ExportedService setSpecification(String spec)
spec
- the specification
public ExportedService setFilter(String filter)
filter
- the LDAP filter
public 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 policy
public ExportedService setComparator(String cmp)
cmp
- the comparator class name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |