org.apache.lenya.cms.repo.avalon
Class RepositoryFactoryImpl
java.lang.Object
org.apache.lenya.cms.repo.avalon.RepositoryFactoryImpl
- All Implemented Interfaces:
- org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, RepositoryFactory
public class RepositoryFactoryImpl
- extends java.lang.Object
- implements RepositoryFactory, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.thread.ThreadSafe, org.apache.avalon.framework.service.Serviceable
Repository factory implementation.
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration config)
|
void |
contextualize(org.apache.avalon.framework.context.Context context)
|
Repository |
getRepository()
|
void |
service(org.apache.avalon.framework.service.ServiceManager manager)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryFactoryImpl
public RepositoryFactoryImpl()
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
- Specified by:
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
- Throws:
org.apache.avalon.framework.context.ContextException
configure
public void configure(org.apache.avalon.framework.configuration.Configuration config)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
getRepository
public Repository getRepository()
throws RepositoryException
- Specified by:
getRepository
in interface RepositoryFactory
- Returns:
- The repository.
- Throws:
RepositoryException
- if an error occurs.
service
public void service(org.apache.avalon.framework.service.ServiceManager manager)
throws org.apache.avalon.framework.service.ServiceException
- Specified by:
service
in interface org.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
Copyright © $ Apache Software Foundation. All Rights Reserved.