org.apache.aries.blueprint.mutable
Interface MutableServiceMetadata

All Superinterfaces:
org.osgi.service.blueprint.reflect.ComponentMetadata, org.osgi.service.blueprint.reflect.Metadata, MutableComponentMetadata, org.osgi.service.blueprint.reflect.NonNullMetadata, org.osgi.service.blueprint.reflect.ServiceMetadata
All Known Implementing Classes:
ServiceMetadataImpl

public interface MutableServiceMetadata
extends org.osgi.service.blueprint.reflect.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(String interfaceName)
           
 void addRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener listener)
           
 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)
           
 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 autoExportMode)
           
 void setRanking(int ranking)
           
 void setServiceComponent(org.osgi.service.blueprint.reflect.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(org.osgi.service.blueprint.reflect.Target serviceComponent)

addInterface

void addInterface(String interfaceName)

removeInterface

void removeInterface(String interfaceName)

setAutoExport

void setAutoExport(int autoExportMode)

addServiceProperty

void addServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty)

addServiceProperty

org.osgi.service.blueprint.reflect.MapEntry addServiceProperty(org.osgi.service.blueprint.reflect.NonNullMetadata key,
                                                               org.osgi.service.blueprint.reflect.Metadata value)

removeServiceProperty

void removeServiceProperty(org.osgi.service.blueprint.reflect.MapEntry serviceProperty)

setRanking

void setRanking(int ranking)

addRegistrationListener

void addRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener listener)

addRegistrationListener

org.osgi.service.blueprint.reflect.RegistrationListener addRegistrationListener(org.osgi.service.blueprint.reflect.Target listenerComponent,
                                                                                String registrationMethodName,
                                                                                String unregistrationMethodName)

removeRegistrationListener

void removeRegistrationListener(org.osgi.service.blueprint.reflect.RegistrationListener listener)


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