org.apache.aries.blueprint.compendium.cm
Class CmManagedServiceFactory

java.lang.Object
  extended by org.apache.aries.blueprint.compendium.cm.CmManagedServiceFactory

public class CmManagedServiceFactory
extends java.lang.Object

TODO: if we need to make those exported services tied to their references as for other elements TODO: it becomes a problem as currently we would have to create a specific recipe or something like that

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

Constructor Summary
CmManagedServiceFactory()
           
 
Method Summary
protected  void deleted(java.lang.String pid)
           
 void destroy()
           
 java.util.Map<org.osgi.framework.ServiceRegistration,java.lang.Object> getServiceMap()
           
 void init()
           
 void setAutoExport(int autoExport)
           
 void setBlueprintContainer(ExtendedBlueprintContainer blueprintContainer)
           
 void setComponentDestroyMethod(java.lang.String componentDestroyMethod)
           
 void setConfigAdmin(org.osgi.service.cm.ConfigurationAdmin configAdmin)
           
 void setFactoryPid(java.lang.String factoryPid)
           
 void setId(java.lang.String id)
           
 void setInterfaces(java.util.List<java.lang.String> interfaces)
           
 void setListeners(java.util.List<ServiceListener> listeners)
           
 void setManagedComponentName(java.lang.String managedComponentName)
           
 void setRanking(int ranking)
           
 void setServiceProperties(java.util.Map serviceProperties)
           
protected  void updated(java.lang.String pid, java.util.Dictionary props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmManagedServiceFactory

public CmManagedServiceFactory()
Method Detail

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

destroy

public void destroy()

getServiceMap

public java.util.Map<org.osgi.framework.ServiceRegistration,java.lang.Object> getServiceMap()

setBlueprintContainer

public void setBlueprintContainer(ExtendedBlueprintContainer blueprintContainer)

setConfigAdmin

public void setConfigAdmin(org.osgi.service.cm.ConfigurationAdmin configAdmin)

setListeners

public void setListeners(java.util.List<ServiceListener> listeners)

setId

public void setId(java.lang.String id)

setFactoryPid

public void setFactoryPid(java.lang.String factoryPid)

setInterfaces

public void setInterfaces(java.util.List<java.lang.String> interfaces)

setAutoExport

public void setAutoExport(int autoExport)

setRanking

public void setRanking(int ranking)

setServiceProperties

public void setServiceProperties(java.util.Map serviceProperties)

setManagedComponentName

public void setManagedComponentName(java.lang.String managedComponentName)

setComponentDestroyMethod

public void setComponentDestroyMethod(java.lang.String componentDestroyMethod)

updated

protected void updated(java.lang.String pid,
                       java.util.Dictionary props)

deleted

protected void deleted(java.lang.String pid)


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