com.atlassian.user.configuration
Class DefaultRepositoryProcessor
java.lang.Object
com.atlassian.user.configuration.DefaultRepositoryProcessor
- All Implemented Interfaces:
- RepositoryProcessor
- Direct Known Subclasses:
- HibernateRepositoryProcessor, LdapRepositoryProcessor, MemoryRepositoryProcessor, OSURepositoryProcessor
- public class DefaultRepositoryProcessor
- extends java.lang.Object
- implements RepositoryProcessor
Field Summary |
protected org.apache.log4j.Logger |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.log4j.Logger log
DefaultRepositoryProcessor
public DefaultRepositoryProcessor()
process
public RepositoryAccessor process(RepositoryConfiguration config)
throws ConfigurationException
- Specified by:
process
in interface RepositoryProcessor
- Throws:
ConfigurationException
createBean
protected java.lang.Object createBean(java.lang.String componentName,
RepositoryConfiguration config)
createBean
protected java.lang.Object createBean(java.lang.String componentName,
RepositoryConfiguration config,
boolean useConstructorInjection)
getClassForName
protected java.lang.Class getClassForName(java.lang.String className)
- Gets the specified class using
ClassLoaderUtils.loadClass(String,Class)
.
- Parameters:
className
- the fully qualified name of the class to retrieve
- Throws:
java.lang.RuntimeException
- if the class cannot be found.
createComponentContext
protected org.springframework.beans.factory.support.DefaultListableBeanFactory createComponentContext(RepositoryConfiguration config)
- Create a Spring bean factory containing the components in the provided map.
- Returns:
- the bean factory containing the components.
Copyright © 2005-2007 Atlassian Software Systems Pty Ltd. All Rights Reserved.