|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttigase.db.comp.ConfigRepository<Item>
Item - public abstract class ConfigRepository<Item extends RepositoryItem>
Created: Oct 3, 2009 2:58:41 PM
| Field Summary | |
|---|---|
protected ConcurrentSkipListMap<String,Item> |
items
|
| Fields inherited from interface tigase.db.comp.ComponentRepository |
|---|
COMP_REPO_BIND |
| Constructor Summary | |
|---|---|
ConfigRepository()
|
|
| Method Summary | |
|---|---|
void |
addItem(Item item)
Method description |
void |
addRepoChangeListener(RepositoryChangeListenerIfc<Item> repoChangeListener)
Adds a listener for repository Item change. |
Collection<Item> |
allItems()
Method description |
boolean |
contains(String key)
Method description |
abstract String |
getConfigKey()
Method description |
abstract String[] |
getDefaultPropetyItems()
Method description |
void |
getDefaults(Map<String,Object> defs,
Map<String,Object> params)
Method description |
Item |
getItem(String key)
Method description |
abstract String |
getPropertyKey()
Method description |
Iterator<Item> |
iterator()
Method description |
void |
reload()
Method description |
void |
removeItem(String key)
Method description |
void |
removeRepoChangeListener(RepositoryChangeListenerIfc<Item> repoChangeListener)
Removes a listener for repository Item change. |
void |
setProperties(Map<String,Object> properties)
Method description |
int |
size()
Method description |
void |
store()
Method description |
String |
toString()
|
String |
validateItem(Item item)
Method description |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface tigase.db.comp.ComponentRepository |
|---|
getItemInstance |
| Field Detail |
|---|
protected ConcurrentSkipListMap<String,Item extends RepositoryItem> items
| Constructor Detail |
|---|
public ConfigRepository()
| Method Detail |
|---|
public void addRepoChangeListener(RepositoryChangeListenerIfc<Item> repoChangeListener)
ComponentRepository
addRepoChangeListener in interface ComponentRepository<Item extends RepositoryItem>public void removeRepoChangeListener(RepositoryChangeListenerIfc<Item> repoChangeListener)
ComponentRepository
removeRepoChangeListener in interface ComponentRepository<Item extends RepositoryItem>public String toString()
toString in class Objectpublic abstract String getConfigKey()
public abstract String[] getDefaultPropetyItems()
public abstract String getPropertyKey()
public void addItem(Item item)
addItem in interface ComponentRepository<Item extends RepositoryItem>item - public Collection<Item> allItems()
allItems in interface ComponentRepository<Item extends RepositoryItem>public boolean contains(String key)
contains in interface ComponentRepository<Item extends RepositoryItem>key -
public void getDefaults(Map<String,Object> defs,
Map<String,Object> params)
getDefaults in interface ComponentRepository<Item extends RepositoryItem>defs - params - public Item getItem(String key)
getItem in interface ComponentRepository<Item extends RepositoryItem>key -
public Iterator<Item> iterator()
iterator in interface Iterable<Item extends RepositoryItem>public void reload()
reload in interface ComponentRepository<Item extends RepositoryItem>public void removeItem(String key)
removeItem in interface ComponentRepository<Item extends RepositoryItem>key - public void setProperties(Map<String,Object> properties)
setProperties in interface ComponentRepository<Item extends RepositoryItem>properties - public int size()
size in interface ComponentRepository<Item extends RepositoryItem>public void store()
store in interface ComponentRepository<Item extends RepositoryItem>public String validateItem(Item item)
validateItem in interface ComponentRepository<Item extends RepositoryItem>item -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||