org.eclipse.emf.cdo.spi.server
Class RepositoryConfigurator
java.lang.Object
org.eclipse.emf.cdo.spi.server.RepositoryConfigurator
- public class RepositoryConfigurator
- extends Object
- Since:
- 4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryConfigurator
public RepositoryConfigurator()
RepositoryConfigurator
public RepositoryConfigurator(IManagedContainer container)
getContainer
public IManagedContainer getContainer()
getRepositoryFactories
public Map<String,IRepositoryFactory> getRepositoryFactories()
getStoreFactories
public Map<String,IStoreFactory> getStoreFactories()
configure
public IRepository[] configure(File configFile)
throws ParserConfigurationException,
SAXException,
IOException,
CoreException
- Throws:
ParserConfigurationException
SAXException
IOException
CoreException
getDocument
protected Document getDocument(File configFile)
throws ParserConfigurationException,
SAXException,
IOException
- Throws:
ParserConfigurationException
SAXException
IOException
getRepositoryFactory
protected IRepositoryFactory getRepositoryFactory(String type)
throws CoreException
- Throws:
CoreException
getRepository
protected IRepository getRepository(Element repositoryConfig)
throws CoreException
- Throws:
CoreException
getRepository
protected IRepository getRepository(String repositoryType)
throws CoreException
- Throws:
CoreException
getUserManagerConfig
protected Element getUserManagerConfig(Element repositoryConfig)
getUserManager
protected IUserManager getUserManager(Element userManagerConfig)
throws CoreException
- Throws:
CoreException
getUserManager
protected IUserManager getUserManager(String type,
String description)
throws CoreException
- Throws:
CoreException
getInitialPackages
protected EPackage[] getInitialPackages(Element repositoryConfig)
getStoreConfig
protected Element getStoreConfig(Element repositoryConfig)
getStoreFactory
protected IStoreFactory getStoreFactory(String type)
throws CoreException
- Throws:
CoreException
createStore
protected IStore createStore(String repositoryName,
Map<String,String> repositoryProperties,
Element storeConfig)
throws CoreException
- Throws:
CoreException
getProperties
public static Map<String,String> getProperties(Element element,
int levels)
Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.