public class RepositoryConfigurator extends Object
Constructor and Description |
---|
RepositoryConfigurator() |
RepositoryConfigurator(IManagedContainer container) |
public RepositoryConfigurator()
public RepositoryConfigurator(IManagedContainer container)
public IManagedContainer getContainer()
public Map<String,IRepositoryFactory> getRepositoryFactories()
public Map<String,IStoreFactory> getStoreFactories()
public IRepository[] configure(File configFile) throws ParserConfigurationException, SAXException, IOException, CoreException
public IRepository[] configure(Reader configReader) throws ParserConfigurationException, SAXException, IOException, CoreException
ParserConfigurationException
SAXException
IOException
CoreException
protected IRepository[] configure(Document document) throws ParserConfigurationException, SAXException, IOException, CoreException
ParserConfigurationException
SAXException
IOException
CoreException
protected Document getDocument(File configFile) throws ParserConfigurationException, SAXException, IOException
protected Document getDocument(Reader configReader) throws ParserConfigurationException, SAXException, IOException
ParserConfigurationException
SAXException
IOException
protected IRepositoryFactory getRepositoryFactory(String type) throws CoreException
CoreException
protected IRepository getRepository(Element repositoryConfig) throws CoreException
CoreException
protected IRepository getRepository(String repositoryType) throws CoreException
CoreException
protected IUserManager getUserManager(Element userManagerConfig) throws CoreException
CoreException
protected IUserManager getUserManager(String type, String description) throws CoreException
CoreException
protected void setUserManager(InternalRepository repository, Element repositoryConfig) throws CoreException
CoreException
protected Element getAuthenticatorConfig(Element repositoryConfig)
protected IAuthenticator getAuthenticator(Element authenticatorConfig) throws CoreException
CoreException
protected IAuthenticator getAuthenticator(String type, String description) throws CoreException
CoreException
protected void setAuthenticator(InternalRepository repository, Element repositoryConfig) throws CoreException
CoreException
protected IStoreFactory getStoreFactory(String type) throws CoreException
CoreException
protected IStore createStore(String repositoryName, Map<String,String> repositoryProperties, Element storeConfig) throws CoreException
CoreException
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html