public class ServiceMetadataImpl extends ComponentMetadataImpl implements MutableServiceMetadata
activation, dependsOn, id
Constructor and Description |
---|
ServiceMetadataImpl() |
ServiceMetadataImpl(org.osgi.service.blueprint.reflect.ServiceMetadata source) |
Modifier and Type | Method and Description |
---|---|
void |
addInterface(String interfaceName) |
void |
addRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener registrationListenerMetadata) |
org.osgi.service.blueprint.reflect.RegistrationListener |
addRegistrationListener(org.osgi.service.blueprint.reflect.Target listenerComponent,
String registrationMethodName,
String unregistrationMethodName) |
void |
addServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty) |
org.osgi.service.blueprint.reflect.MapEntry |
addServiceProperty(org.osgi.service.blueprint.reflect.NonNullMetadata key,
org.osgi.service.blueprint.reflect.Metadata value) |
int |
getAutoExport() |
List<String> |
getInterfaces() |
int |
getRanking() |
Collection<org.osgi.service.blueprint.reflect.RegistrationListener> |
getRegistrationListeners() |
org.osgi.service.blueprint.reflect.Target |
getServiceComponent() |
List<org.osgi.service.blueprint.reflect.MapEntry> |
getServiceProperties() |
void |
removeInterface(String interfaceName) |
void |
removeRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener listener) |
void |
removeServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty) |
void |
setAutoExport(int autoExport) |
void |
setInterfaceNames(List<String> interfaceNames) |
void |
setRanking(int ranking) |
void |
setRegistrationListeners(Collection<org.osgi.service.blueprint.reflect.RegistrationListener> registrationListeners) |
void |
setServiceComponent(org.osgi.service.blueprint.reflect.Target exportedComponent) |
void |
setServiceProperties(List<org.osgi.service.blueprint.reflect.MapEntry> serviceProperties) |
String |
toString() |
addDependsOn, getActivation, getDependsOn, getId, removeDependsOn, setActivation, setDependsOn, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addDependsOn, removeDependsOn, setActivation, setDependsOn, setId
public ServiceMetadataImpl()
public ServiceMetadataImpl(org.osgi.service.blueprint.reflect.ServiceMetadata source)
public org.osgi.service.blueprint.reflect.Target getServiceComponent()
getServiceComponent
in interface org.osgi.service.blueprint.reflect.ServiceMetadata
public void setServiceComponent(org.osgi.service.blueprint.reflect.Target exportedComponent)
setServiceComponent
in interface MutableServiceMetadata
public List<String> getInterfaces()
getInterfaces
in interface org.osgi.service.blueprint.reflect.ServiceMetadata
public void addInterface(String interfaceName)
addInterface
in interface MutableServiceMetadata
public void removeInterface(String interfaceName)
removeInterface
in interface MutableServiceMetadata
public int getAutoExport()
getAutoExport
in interface org.osgi.service.blueprint.reflect.ServiceMetadata
public void setAutoExport(int autoExport)
setAutoExport
in interface MutableServiceMetadata
public List<org.osgi.service.blueprint.reflect.MapEntry> getServiceProperties()
getServiceProperties
in interface org.osgi.service.blueprint.reflect.ServiceMetadata
public void setServiceProperties(List<org.osgi.service.blueprint.reflect.MapEntry> serviceProperties)
public void addServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty)
addServiceProperty
in interface MutableServiceMetadata
public org.osgi.service.blueprint.reflect.MapEntry addServiceProperty(org.osgi.service.blueprint.reflect.NonNullMetadata key, org.osgi.service.blueprint.reflect.Metadata value)
addServiceProperty
in interface MutableServiceMetadata
public void removeServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty)
removeServiceProperty
in interface MutableServiceMetadata
public int getRanking()
getRanking
in interface org.osgi.service.blueprint.reflect.ServiceMetadata
public void setRanking(int ranking)
setRanking
in interface MutableServiceMetadata
public Collection<org.osgi.service.blueprint.reflect.RegistrationListener> getRegistrationListeners()
getRegistrationListeners
in interface org.osgi.service.blueprint.reflect.ServiceMetadata
public void setRegistrationListeners(Collection<org.osgi.service.blueprint.reflect.RegistrationListener> registrationListeners)
public void addRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener registrationListenerMetadata)
addRegistrationListener
in interface MutableServiceMetadata
public org.osgi.service.blueprint.reflect.RegistrationListener addRegistrationListener(org.osgi.service.blueprint.reflect.Target listenerComponent, String registrationMethodName, String unregistrationMethodName)
addRegistrationListener
in interface MutableServiceMetadata
public void removeRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener listener)
removeRegistrationListener
in interface MutableServiceMetadata
Copyright © 2016. All rights reserved.