|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.coin.repository.RepositoryImpl<T>
public class RepositoryImpl<T>
Models a ManagedService and it's associated data. TODO shall we use a concurent hash map?
| Constructor Summary | |
|---|---|
RepositoryImpl(java.lang.String name)
Constructor. |
|
| Method Summary | |
|---|---|
java.util.Collection<T> |
getAll()
|
boolean |
register(T element)
|
boolean |
unregister(T element)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryImpl(java.lang.String name)
name - elements type name
org.ops4j.lang.NullArgumentException - - If name is null or empty| Method Detail |
|---|
public boolean register(T element)
register in interface Repository<T>Repository.register(Object)public boolean unregister(T element)
unregister in interface Repository<T>Repository.unregister(Object)public java.util.Collection<T> getAll()
getAll in interface Repository<T>Repository.getAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||