|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.felix.ipojo.api.composite.InstantiatedService
public class InstantiatedService
Allows defining an instantiated sub-service. An instantiated sub- service will be reified by instances publishing the required service. Those instances are created from public factories inside the composite.
Constructor Summary | |
---|---|
InstantiatedService()
|
Method Summary | |
---|---|
InstantiatedService |
addProperty(java.lang.String name,
java.util.Dictionary values)
Adds a dictionary property. |
InstantiatedService |
addProperty(java.lang.String name,
java.util.List values)
Adds a list property. |
InstantiatedService |
addProperty(java.lang.String name,
java.util.Map values)
Adds a map property. |
InstantiatedService |
addProperty(java.lang.String name,
java.lang.String value)
Adds a string property. |
InstantiatedService |
addProperty(java.lang.String name,
java.lang.String[] values)
Adds an array property. |
InstantiatedService |
addProperty(java.lang.String name,
java.util.Vector values)
Adds a vector property. |
org.apache.felix.ipojo.metadata.Element |
getElement()
Gets the dependency metadata. |
InstantiatedService |
setAggregate(boolean agg)
Sets the dependency cardinality. |
InstantiatedService |
setBindingPolicy(int policy)
Sets the dependency binding policy. |
InstantiatedService |
setComparator(java.lang.String cmp)
Sets the dependency comparator. |
InstantiatedService |
setFilter(java.lang.String filter)
Sets the dependency filter. |
InstantiatedService |
setOptional(boolean opt)
Sets the dependency optionality. |
InstantiatedService |
setSpecification(java.lang.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 InstantiatedService()
Method Detail |
---|
public org.apache.felix.ipojo.metadata.Element getElement()
getElement
in interface HandlerConfiguration
public InstantiatedService addProperty(java.lang.String name, java.lang.String value)
name
- the property namevalue
- the property value
public InstantiatedService addProperty(java.lang.String name, java.util.List values)
name
- the property namevalues
- the property value
public InstantiatedService addProperty(java.lang.String name, java.lang.String[] values)
name
- the property namevalues
- the property value
public InstantiatedService addProperty(java.lang.String name, java.util.Vector values)
name
- the property namevalues
- the property value
public InstantiatedService addProperty(java.lang.String name, java.util.Map values)
name
- the property namevalues
- the property value
public InstantiatedService addProperty(java.lang.String name, java.util.Dictionary values)
name
- the property namevalues
- the property value
public InstantiatedService setSpecification(java.lang.String spec)
spec
- the specification
public InstantiatedService setFilter(java.lang.String filter)
filter
- the LDAP filter
public InstantiatedService setOptional(boolean opt)
opt
- true
to set the dependency to optional.
public InstantiatedService setAggregate(boolean agg)
agg
- true
to set the dependency to aggregate.
public InstantiatedService setBindingPolicy(int policy)
policy
- the binding policy
public InstantiatedService setComparator(java.lang.String cmp)
cmp
- the comparator class name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |