public class ProvidedService extends java.lang.Object implements HandlerConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALL_POLICY
Delegation policy: all.
|
static java.lang.String |
ONE_POLICY
Delegation policy: one.
|
Constructor and Description |
---|
ProvidedService() |
Modifier and Type | Method and Description |
---|---|
org.apache.felix.ipojo.metadata.Element |
getElement()
Gets the provided element.
|
ProvidedService |
setDelegation(java.lang.String method,
java.lang.String policy)
Sets the delegation policy of the given method.
|
ProvidedService |
setSpecification(java.lang.String spec)
Sets the provided service specification.
|
public static final java.lang.String ALL_POLICY
public static final java.lang.String ONE_POLICY
public org.apache.felix.ipojo.metadata.Element getElement()
getElement
in interface HandlerConfiguration
public ProvidedService setSpecification(java.lang.String spec)
spec
- the specificationpublic ProvidedService setDelegation(java.lang.String method, java.lang.String policy)
method
- the method namepolicy
- the delegation policyCopyright © 2006-2014 The Apache Software Foundation. All Rights Reserved.