public abstract class ServiceReferenceMetadataImpl extends ComponentMetadataImpl implements MutableServiceReferenceMetadata
| Modifier and Type | Field and Description |
|---|---|
protected int |
availability |
protected org.osgi.framework.BundleContext |
bundleContext |
protected String |
componentName |
protected ValueMetadata |
extendedFilter |
protected String |
filter |
protected String |
interfaceName |
protected int |
proxyMethod |
protected Collection<ReferenceListener> |
referenceListeners |
protected Class |
runtimeInterface |
activation, dependsOn, idPROXY_METHOD_CLASSES, PROXY_METHOD_DEFAULTAVAILABILITY_MANDATORY, AVAILABILITY_OPTIONALACTIVATION_EAGER, ACTIVATION_LAZY| Constructor and Description |
|---|
ServiceReferenceMetadataImpl() |
ServiceReferenceMetadataImpl(ServiceReferenceMetadata source) |
addDependsOn, getActivation, getDependsOn, getId, removeDependsOn, setActivation, setDependsOn, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetActivation, getDependsOn, getIdaddDependsOn, removeDependsOn, setActivation, setDependsOn, setIdprotected int availability
protected String interfaceName
protected String componentName
protected String filter
protected Collection<ReferenceListener> referenceListeners
protected int proxyMethod
protected Class runtimeInterface
protected org.osgi.framework.BundleContext bundleContext
protected ValueMetadata extendedFilter
public ServiceReferenceMetadataImpl()
public ServiceReferenceMetadataImpl(ServiceReferenceMetadata source)
public int getAvailability()
getAvailability in interface ServiceReferenceMetadatapublic void setAvailability(int availability)
setAvailability in interface MutableServiceReferenceMetadatapublic String getInterface()
getInterface in interface ServiceReferenceMetadatapublic void setInterface(String interfaceName)
setInterface in interface MutableServiceReferenceMetadatapublic String getComponentName()
getComponentName in interface ServiceReferenceMetadatapublic void setComponentName(String componentName)
setComponentName in interface MutableServiceReferenceMetadatapublic String getFilter()
getFilter in interface ServiceReferenceMetadatapublic void setFilter(String filter)
setFilter in interface MutableServiceReferenceMetadatapublic Collection<ReferenceListener> getReferenceListeners()
getReferenceListeners in interface ServiceReferenceMetadatapublic void setReferenceListeners(Collection<ReferenceListener> listeners)
public void addServiceListener(ReferenceListener bindingListenerMetadata)
addServiceListener in interface MutableServiceReferenceMetadatapublic ReferenceListener addServiceListener(Target listenerComponent, String bindMethodName, String unbindMethodName)
addServiceListener in interface MutableServiceReferenceMetadatapublic void removeReferenceListener(ReferenceListener listener)
removeReferenceListener in interface MutableServiceReferenceMetadatapublic int getProxyMethod()
getProxyMethod in interface ExtendedServiceReferenceMetadatapublic void setProxyMethod(int proxyMethod)
setProxyMethod in interface MutableServiceReferenceMetadatapublic Class getRuntimeInterface()
getRuntimeInterface in interface ExtendedServiceReferenceMetadatapublic void setRuntimeInterface(Class runtimeInterface)
setRuntimeInterface in interface MutableServiceReferenceMetadatapublic org.osgi.framework.BundleContext getBundleContext()
getBundleContext in interface ExtendedServiceReferenceMetadatapublic void setBundleContext(org.osgi.framework.BundleContext ctx)
MutableServiceReferenceMetadataBundleContext 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)setBundleContext in interface MutableServiceReferenceMetadatapublic ValueMetadata getExtendedFilter()
getExtendedFilter in interface ExtendedServiceReferenceMetadatapublic void setExtendedFilter(ValueMetadata extendedFilter)
setExtendedFilter in interface MutableServiceReferenceMetadataCopyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.