org.apache.aries.blueprint.mutable
Interface MutableServiceMetadata

All Superinterfaces:
ComponentMetadata, Metadata, MutableComponentMetadata, NonNullMetadata, ServiceMetadata
All Known Implementing Classes:
ServiceMetadataImpl

public interface MutableServiceMetadata
extends ServiceMetadata, MutableComponentMetadata

A mutable version of the ServiceMetadata that allows modifications.

Version:
$Rev: 896324 $, $Date: 2010-01-06 06:05:04 +0000 (Wed, 06 Jan 2010) $

Field Summary
 
Fields inherited from interface org.osgi.service.blueprint.reflect.ServiceMetadata
AUTO_EXPORT_ALL_CLASSES, AUTO_EXPORT_CLASS_HIERARCHY, AUTO_EXPORT_DISABLED, AUTO_EXPORT_INTERFACES
 
Fields inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
ACTIVATION_EAGER, ACTIVATION_LAZY
 
Method Summary
 void addInterface(java.lang.String interfaceName)
           
 void addRegistrationListener(RegistrationListener listener)
           
 RegistrationListener addRegistrationListener(Target listenerComponent, java.lang.String registrationMethodName, java.lang.String unregistrationMethodName)
           
 void addServiceProperty(MapEntry serviceProperty)
           
 MapEntry addServiceProperty(NonNullMetadata key, Metadata value)
           
 void removeInterface(java.lang.String interfaceName)
           
 void removeRegistrationListener(RegistrationListener listener)
           
 void removeServiceProperty(MapEntry serviceProperty)
           
 void setAutoExport(int autoExportMode)
           
 void setRanking(int ranking)
           
 void setServiceComponent(Target serviceComponent)
           
 
Methods inherited from interface org.osgi.service.blueprint.reflect.ServiceMetadata
getAutoExport, getInterfaces, getRanking, getRegistrationListeners, getServiceComponent, getServiceProperties
 
Methods inherited from interface org.apache.aries.blueprint.mutable.MutableComponentMetadata
addDependsOn, removeDependsOn, setActivation, setDependsOn, setId
 
Methods inherited from interface org.osgi.service.blueprint.reflect.ComponentMetadata
getActivation, getDependsOn, getId
 

Method Detail

setServiceComponent

void setServiceComponent(Target serviceComponent)

addInterface

void addInterface(java.lang.String interfaceName)

removeInterface

void removeInterface(java.lang.String interfaceName)

setAutoExport

void setAutoExport(int autoExportMode)

addServiceProperty

void addServiceProperty(MapEntry serviceProperty)

addServiceProperty

MapEntry addServiceProperty(NonNullMetadata key,
                            Metadata value)

removeServiceProperty

void removeServiceProperty(MapEntry serviceProperty)

setRanking

void setRanking(int ranking)

addRegistrationListener

void addRegistrationListener(RegistrationListener listener)

addRegistrationListener

RegistrationListener addRegistrationListener(Target listenerComponent,
                                             java.lang.String registrationMethodName,
                                             java.lang.String unregistrationMethodName)

removeRegistrationListener

void removeRegistrationListener(RegistrationListener listener)


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.