org.ops4j.pax.coin.service.internal.target
Class ManagedServiceConfigTarget

java.lang.Object
  extended by org.ops4j.pax.coin.service.internal.target.AbstractConfigTarget
      extended by org.ops4j.pax.coin.service.internal.target.ManagedServiceConfigTarget
All Implemented Interfaces:
ConfigTarget

public class ManagedServiceConfigTarget
extends AbstractConfigTarget

TODO Add JavaDoc TODO implement equals/hasCode ? TODO validate that pid on doUpdate is the same with group pid?

Since:
0.3.0, February 27, 2008
Author:
Alin Dreghiciu

Constructor Summary
ManagedServiceConfigTarget(org.osgi.service.cm.ManagedService managedService, String pid, String location, Executor executor, ConfigPluginRepository pluginRepository)
          Constructor.
 
Method Summary
 org.osgi.service.cm.ManagedService getManagedService()
          Getter.
 String toString()
           
 
Methods inherited from class org.ops4j.pax.coin.service.internal.target.AbstractConfigTarget
delete, getGroupId, getLocation, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedServiceConfigTarget

public ManagedServiceConfigTarget(org.osgi.service.cm.ManagedService managedService,
                                  String pid,
                                  String location,
                                  Executor executor,
                                  ConfigPluginRepository pluginRepository)
Constructor.

Parameters:
managedService - managed service
pid - persistent identifier
location - bundle location
executor - executor for running updates / deletes against configuration targets
pluginRepository - configuration plugins repository
Throws:
org.ops4j.lang.NullArgumentException - - If managed service is null
Method Detail

getManagedService

public org.osgi.service.cm.ManagedService getManagedService()
Getter.

Returns:
managed service

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.