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

java.lang.Object
  extended by org.ops4j.pax.coin.repository.AbstractObservableRepository<ConfigTarget,ConfigTargetListener>
      extended by org.ops4j.pax.coin.service.internal.target.ConfigTargetRepositoryImpl
All Implemented Interfaces:
Observable<ConfigTarget,ConfigTargetListener>, Repository<ConfigTarget>, ConfigTargetRepository

public class ConfigTargetRepositoryImpl
extends AbstractObservableRepository<ConfigTarget,ConfigTargetListener>
implements ConfigTargetRepository

TODO Add JavaDoc TODO When there is more then one managed services registered for the same pid a framework log event should be issued

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

Constructor Summary
ConfigTargetRepositoryImpl()
           
 
Method Summary
 ConfigTarget get(String groupId)
          Searches repository for the configuration target with the specified group id.
 
Methods inherited from class org.ops4j.pax.coin.repository.AbstractObservableRepository
addListener, getAll, register, removeListener, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ops4j.pax.coin.repository.Repository
getAll, register, unregister
 
Methods inherited from interface org.ops4j.pax.coin.repository.Observable
addListener, removeListener
 

Constructor Detail

ConfigTargetRepositoryImpl

public ConfigTargetRepositoryImpl()
Method Detail

get

public ConfigTarget get(String groupId)
Description copied from interface: ConfigTargetRepository
Searches repository for the configuration target with the specified group id.

Specified by:
get in interface ConfigTargetRepository
Parameters:
groupId - group id of configuration target
Returns:
configuration target or null if no configuration target with the specified group id exists
See Also:
ConfigTargetRepository.get(String)


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