public class ServiceMetadataImpl extends ComponentMetadataImpl implements MutableServiceMetadata
activation, dependsOn, idAUTO_EXPORT_ALL_CLASSES, AUTO_EXPORT_CLASS_HIERARCHY, AUTO_EXPORT_DISABLED, AUTO_EXPORT_INTERFACESACTIVATION_EAGER, ACTIVATION_LAZY| Constructor and Description |
|---|
ServiceMetadataImpl() |
ServiceMetadataImpl(ServiceMetadata source) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterface(java.lang.String interfaceName) |
void |
addRegistrationListener(RegistrationListener registrationListenerMetadata) |
RegistrationListener |
addRegistrationListener(Target listenerComponent,
java.lang.String registrationMethodName,
java.lang.String unregistrationMethodName) |
void |
addServiceProperty(MapEntry serviceProperty) |
MapEntry |
addServiceProperty(NonNullMetadata key,
Metadata value) |
int |
getAutoExport() |
java.util.List<java.lang.String> |
getInterfaces() |
int |
getRanking() |
java.util.Collection<RegistrationListener> |
getRegistrationListeners() |
Target |
getServiceComponent() |
java.util.List<MapEntry> |
getServiceProperties() |
void |
removeInterface(java.lang.String interfaceName) |
void |
removeRegistrationListener(RegistrationListener listener) |
void |
removeServiceProperty(MapEntry serviceProperty) |
void |
setAutoExport(int autoExport) |
void |
setInterfaceNames(java.util.List<java.lang.String> interfaceNames) |
void |
setRanking(int ranking) |
void |
setRegistrationListeners(java.util.Collection<RegistrationListener> registrationListeners) |
void |
setServiceComponent(Target exportedComponent) |
void |
setServiceProperties(java.util.List<MapEntry> serviceProperties) |
java.lang.String |
toString() |
addDependsOn, getActivation, getDependsOn, getId, removeDependsOn, setActivation, setDependsOn, setIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDependsOn, removeDependsOn, setActivation, setDependsOn, setIdgetActivation, getDependsOn, getIdpublic ServiceMetadataImpl()
public ServiceMetadataImpl(ServiceMetadata source)
public Target getServiceComponent()
getServiceComponent in interface ServiceMetadatapublic void setServiceComponent(Target exportedComponent)
setServiceComponent in interface MutableServiceMetadatapublic java.util.List<java.lang.String> getInterfaces()
getInterfaces in interface ServiceMetadatapublic void setInterfaceNames(java.util.List<java.lang.String> interfaceNames)
public void addInterface(java.lang.String interfaceName)
addInterface in interface MutableServiceMetadatapublic void removeInterface(java.lang.String interfaceName)
removeInterface in interface MutableServiceMetadatapublic int getAutoExport()
getAutoExport in interface ServiceMetadatapublic void setAutoExport(int autoExport)
setAutoExport in interface MutableServiceMetadatapublic java.util.List<MapEntry> getServiceProperties()
getServiceProperties in interface ServiceMetadatapublic void setServiceProperties(java.util.List<MapEntry> serviceProperties)
public void addServiceProperty(MapEntry serviceProperty)
addServiceProperty in interface MutableServiceMetadatapublic MapEntry addServiceProperty(NonNullMetadata key, Metadata value)
addServiceProperty in interface MutableServiceMetadatapublic void removeServiceProperty(MapEntry serviceProperty)
removeServiceProperty in interface MutableServiceMetadatapublic int getRanking()
getRanking in interface ServiceMetadatapublic void setRanking(int ranking)
setRanking in interface MutableServiceMetadatapublic java.util.Collection<RegistrationListener> getRegistrationListeners()
getRegistrationListeners in interface ServiceMetadatapublic void setRegistrationListeners(java.util.Collection<RegistrationListener> registrationListeners)
public void addRegistrationListener(RegistrationListener registrationListenerMetadata)
addRegistrationListener in interface MutableServiceMetadatapublic RegistrationListener addRegistrationListener(Target listenerComponent, java.lang.String registrationMethodName, java.lang.String unregistrationMethodName)
addRegistrationListener in interface MutableServiceMetadatapublic void removeRegistrationListener(RegistrationListener listener)
removeRegistrationListener in interface MutableServiceMetadatapublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.