public class I18NDAORepository extends AbstractConfiguringServiceLoaderRepository<I18NDAO>
Modifier and Type | Class and Description |
---|---|
private static class |
I18NDAORepository.LazyHolder
Lazy holder for this repository
|
Modifier and Type | Field and Description |
---|---|
private Map<Class<? extends AbstractI18NMetadata>,I18NDAO<?>> |
daos |
private static org.slf4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
private |
I18NDAORepository()
private constructor
|
Modifier and Type | Method and Description |
---|---|
<T extends AbstractI18NMetadata> |
getDAO(Class<T> c)
Get the available DAO
|
static I18NDAORepository |
getInstance()
Get the singleton instance of the I18NDAORepository.
|
protected void |
processConfiguredImplementations(Set<I18NDAO> implementations) |
processImplementations
checkConnectionProviderIdentifications, load, update
private static final org.slf4j.Logger LOG
private final Map<Class<? extends AbstractI18NMetadata>,I18NDAO<?>> daos
public <T extends AbstractI18NMetadata> I18NDAO<T> getDAO(Class<T> c)
T
- the meta data typec
- the meta data classprotected void processConfiguredImplementations(Set<I18NDAO> implementations) throws ConfigurationException
processConfiguredImplementations
in class AbstractConfiguringServiceLoaderRepository<I18NDAO>
ConfigurationException
public static I18NDAORepository getInstance()
Copyright © 2012-2015 52north.org. All Rights Reserved.