public interface MutableServiceReferenceMetadata extends ExtendedServiceReferenceMetadata, MutableComponentMetadata
ServiceReferenceMetadata that allows modifications.PROXY_METHOD_CLASSES, PROXY_METHOD_DEFAULTAVAILABILITY_MANDATORY, AVAILABILITY_OPTIONALACTIVATION_EAGER, ACTIVATION_LAZY| Modifier and Type | Method and Description |
|---|---|
void |
addServiceListener(ReferenceListener listener) |
ReferenceListener |
addServiceListener(Target listenerComponent,
String bindMethodName,
String unbindMethodName) |
void |
removeReferenceListener(ReferenceListener listener) |
void |
setAvailability(int availability) |
void |
setBundleContext(org.osgi.framework.BundleContext bc)
Used to set a
BundleContext for this reference lookup. |
void |
setComponentName(String componentName) |
void |
setExtendedFilter(ValueMetadata filter) |
void |
setFilter(String filter) |
void |
setInterface(String interfaceName) |
void |
setProxyMethod(int proxyMethod) |
void |
setRuntimeInterface(Class clazz) |
getBundleContext, getExtendedFilter, getProxyMethod, getRuntimeInterfacegetAvailability, getComponentName, getFilter, getInterface, getReferenceListenersgetActivation, getDependsOn, getIdaddDependsOn, removeDependsOn, setActivation, setDependsOn, setIdvoid setAvailability(int availability)
void setInterface(String interfaceName)
void setComponentName(String componentName)
void addServiceListener(ReferenceListener listener)
ReferenceListener addServiceListener(Target listenerComponent, String bindMethodName, String unbindMethodName)
void removeReferenceListener(ReferenceListener listener)
void setProxyMethod(int proxyMethod)
void setFilter(String filter)
void setRuntimeInterface(Class clazz)
void setBundleContext(org.osgi.framework.BundleContext bc)
BundleContext for this reference lookup. If this
is set to null (or left unset) then the bundle context of the blueprint
bundle will be used (normal behaviour)bc - void setExtendedFilter(ValueMetadata filter)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.