tigase.cluster.repo
Class ClConSQLRepository
java.lang.Object
tigase.db.comp.ConfigRepository<ClusterRepoItem>
tigase.cluster.repo.ClConConfigRepository
tigase.cluster.repo.ClConSQLRepository
- All Implemented Interfaces:
- Iterable<ClusterRepoItem>, ClusterRepoConstants, ComponentRepository<ClusterRepoItem>
public class ClConSQLRepository
- extends ClConConfigRepository
- implements ClusterRepoConstants
Class description
- Version:
- 5.2.0, 13/03/09
- Author:
- Artur Hefczyc
| Methods inherited from class tigase.db.comp.ConfigRepository |
addItem, addRepoChangeListener, allItems, contains, getItem, iterator, removeItem, removeRepoChangeListener, setAutoloadTimer, size, toString, validateItem |
ClConSQLRepository
public ClConSQLRepository()
getDefaults
public void getDefaults(Map<String,Object> defs,
Map<String,Object> params)
- Method description
- Specified by:
getDefaults in interface ComponentRepository<ClusterRepoItem>- Overrides:
getDefaults in class ClConConfigRepository
- Parameters:
defs - params -
initRepository
public void initRepository(String conn_str,
Map<String,String> params)
throws SQLException
- Method description
- Parameters:
conn_str - params -
- Throws:
SQLException
storeItem
public void storeItem(ClusterRepoItem item)
- Method description
- Overrides:
storeItem in class ClConConfigRepository
- Parameters:
item -
reload
public void reload()
- Method description
- Specified by:
reload in interface ComponentRepository<ClusterRepoItem>- Overrides:
reload in class ClConConfigRepository
setProperties
public void setProperties(Map<String,Object> properties)
- Method description
- Specified by:
setProperties in interface ComponentRepository<ClusterRepoItem>- Overrides:
setProperties in class ClConConfigRepository
- Parameters:
properties -
store
public void store()
- Method description
- Specified by:
store in interface ComponentRepository<ClusterRepoItem>- Overrides:
store in class ConfigRepository<ClusterRepoItem>
Copyright © 2013 Tigase. All rights reserved.