public class RepositoryManager
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.cornerstone.services.store.Store, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.configuration.Configurable
| Modifier and Type | Field and Description |
|---|---|
private static long |
id |
protected java.util.HashMap |
m_classes |
protected org.apache.avalon.framework.context.Context |
m_context |
protected java.util.HashMap |
m_models |
protected java.util.HashMap |
m_repositories |
protected org.apache.avalon.framework.service.ServiceManager |
m_serviceManager |
private static java.lang.String |
REPOSITORY_NAME |
| Constructor and Description |
|---|
RepositoryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration) |
void |
contextualize(org.apache.avalon.framework.context.Context context) |
static java.lang.String |
getName() |
boolean |
isSelectable(java.lang.Object policy) |
void |
registerRepository(org.apache.avalon.framework.configuration.Configuration repConf) |
void |
release(java.lang.Object service) |
java.lang.Object |
select(java.lang.Object policy) |
void |
service(org.apache.avalon.framework.service.ServiceManager serviceManager) |
private static final java.lang.String REPOSITORY_NAME
private static long id
protected java.util.HashMap m_repositories
protected java.util.HashMap m_models
protected java.util.HashMap m_classes
protected org.apache.avalon.framework.service.ServiceManager m_serviceManager
protected org.apache.avalon.framework.context.Context m_context
public void contextualize(org.apache.avalon.framework.context.Context context)
contextualize in interface org.apache.avalon.framework.context.Contextualizablepublic void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
throws org.apache.avalon.framework.service.ServiceException
service in interface org.apache.avalon.framework.service.Serviceableorg.apache.avalon.framework.service.ServiceExceptionpublic void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
configure in interface org.apache.avalon.framework.configuration.Configurableorg.apache.avalon.framework.configuration.ConfigurationExceptionpublic void registerRepository(org.apache.avalon.framework.configuration.Configuration repConf)
throws org.apache.avalon.framework.configuration.ConfigurationException
org.apache.avalon.framework.configuration.ConfigurationExceptionpublic void release(java.lang.Object service)
release in interface org.apache.avalon.framework.service.ServiceSelectorpublic boolean isSelectable(java.lang.Object policy)
isSelectable in interface org.apache.avalon.framework.service.ServiceSelectorpublic java.lang.Object select(java.lang.Object policy)
throws org.apache.avalon.framework.service.ServiceException
select in interface org.apache.avalon.cornerstone.services.store.Storeselect in interface org.apache.avalon.framework.service.ServiceSelectororg.apache.avalon.framework.service.ServiceExceptionpublic static final java.lang.String getName()