public interface MutableServiceMetadata extends ServiceMetadata, MutableComponentMetadata
ServiceMetadata
that allows modifications.AUTO_EXPORT_ALL_CLASSES, AUTO_EXPORT_CLASS_HIERARCHY, AUTO_EXPORT_DISABLED, AUTO_EXPORT_INTERFACES
ACTIVATION_EAGER, ACTIVATION_LAZY
Modifier and Type | Method and Description |
---|---|
void |
addInterface(String interfaceName) |
void |
addRegistrationListener(RegistrationListener listener) |
RegistrationListener |
addRegistrationListener(Target listenerComponent,
String registrationMethodName,
String unregistrationMethodName) |
void |
addServiceProperty(MapEntry serviceProperty) |
MapEntry |
addServiceProperty(NonNullMetadata key,
Metadata value) |
void |
removeInterface(String interfaceName) |
void |
removeRegistrationListener(RegistrationListener listener) |
void |
removeServiceProperty(MapEntry serviceProperty) |
void |
setAutoExport(int autoExportMode) |
void |
setRanking(int ranking) |
void |
setServiceComponent(Target serviceComponent) |
getAutoExport, getInterfaces, getRanking, getRegistrationListeners, getServiceComponent, getServiceProperties
addDependsOn, removeDependsOn, setActivation, setDependsOn, setId
getActivation, getDependsOn, getId
void setServiceComponent(Target serviceComponent)
void addInterface(String interfaceName)
void removeInterface(String interfaceName)
void setAutoExport(int autoExportMode)
void addServiceProperty(MapEntry serviceProperty)
MapEntry addServiceProperty(NonNullMetadata key, Metadata value)
void removeServiceProperty(MapEntry serviceProperty)
void setRanking(int ranking)
void addRegistrationListener(RegistrationListener listener)
RegistrationListener addRegistrationListener(Target listenerComponent, String registrationMethodName, String unregistrationMethodName)
void removeRegistrationListener(RegistrationListener listener)
Copyright © 2012. All Rights Reserved.