public class InstantiatedService extends java.lang.Object implements HandlerConfiguration
Constructor and Description |
---|
InstantiatedService() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 valuepublic InstantiatedService addProperty(java.lang.String name, java.util.List values)
name
- the property namevalues
- the property valuepublic InstantiatedService addProperty(java.lang.String name, java.lang.String[] values)
name
- the property namevalues
- the property valuepublic InstantiatedService addProperty(java.lang.String name, java.util.Vector values)
name
- the property namevalues
- the property valuepublic InstantiatedService addProperty(java.lang.String name, java.util.Map values)
name
- the property namevalues
- the property valuepublic InstantiatedService addProperty(java.lang.String name, java.util.Dictionary values)
name
- the property namevalues
- the property valuepublic InstantiatedService setSpecification(java.lang.String spec)
spec
- the specificationpublic InstantiatedService setFilter(java.lang.String filter)
filter
- the LDAP filterpublic 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 policypublic InstantiatedService setComparator(java.lang.String cmp)
cmp
- the comparator class nameCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.