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, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDependsOn, removeDependsOn, setActivation, setDependsOn, setIdpublic 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.ServiceMetadatapublic void setServiceComponent(org.osgi.service.blueprint.reflect.Target exportedComponent)
setServiceComponent in interface MutableServiceMetadatapublic List<String> getInterfaces()
getInterfaces in interface org.osgi.service.blueprint.reflect.ServiceMetadatapublic void addInterface(String interfaceName)
addInterface in interface MutableServiceMetadatapublic void removeInterface(String interfaceName)
removeInterface in interface MutableServiceMetadatapublic int getAutoExport()
getAutoExport in interface org.osgi.service.blueprint.reflect.ServiceMetadatapublic void setAutoExport(int autoExport)
setAutoExport in interface MutableServiceMetadatapublic List<org.osgi.service.blueprint.reflect.MapEntry> getServiceProperties()
getServiceProperties in interface org.osgi.service.blueprint.reflect.ServiceMetadatapublic void setServiceProperties(List<org.osgi.service.blueprint.reflect.MapEntry> serviceProperties)
public void addServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty)
addServiceProperty in interface MutableServiceMetadatapublic org.osgi.service.blueprint.reflect.MapEntry addServiceProperty(org.osgi.service.blueprint.reflect.NonNullMetadata key,
org.osgi.service.blueprint.reflect.Metadata value)
addServiceProperty in interface MutableServiceMetadatapublic void removeServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty)
removeServiceProperty in interface MutableServiceMetadatapublic int getRanking()
getRanking in interface org.osgi.service.blueprint.reflect.ServiceMetadatapublic void setRanking(int ranking)
setRanking in interface MutableServiceMetadatapublic Collection<org.osgi.service.blueprint.reflect.RegistrationListener> getRegistrationListeners()
getRegistrationListeners in interface org.osgi.service.blueprint.reflect.ServiceMetadatapublic void setRegistrationListeners(Collection<org.osgi.service.blueprint.reflect.RegistrationListener> registrationListeners)
public void addRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener registrationListenerMetadata)
addRegistrationListener in interface MutableServiceMetadatapublic org.osgi.service.blueprint.reflect.RegistrationListener addRegistrationListener(org.osgi.service.blueprint.reflect.Target listenerComponent,
String registrationMethodName,
String unregistrationMethodName)
addRegistrationListener in interface MutableServiceMetadatapublic void removeRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener listener)
removeRegistrationListener in interface MutableServiceMetadataCopyright © 2025. All rights reserved.