public class JamesServerApplicationContext extends org.springframework.context.support.ClassPathXmlApplicationContext implements JamesResourceLoader
ApplicationContext which loads all needed Spring beans for JAMES| Modifier and Type | Class and Description |
|---|---|
protected static class |
JamesServerApplicationContext.JamesServerResourceLoader |
APPLICATION_EVENT_MULTICASTER_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAME| Constructor and Description |
|---|
JamesServerApplicationContext(String[] configs) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsoluteDirectory()
Return the configuration directory of the application
|
String |
getConfDirectory()
Return the var directory of the application
|
org.springframework.core.io.Resource |
getResource(String fileURL) |
protected static JamesServerApplicationContext.JamesServerResourceLoader |
getResourceLoader()
Protected accessor for the resource loader.
|
String |
getRootDirectory()
Return the root directory of the application
|
String |
getVarDirectory()
Return the absolute directory of the application
|
getConfigResourcesinitBeanDefinitionReader, loadBeanDefinitions, loadBeanDefinitionsafterPropertiesSet, getConfigLocations, getDefaultConfigLocations, resolvePath, setBeanName, setConfigLocation, setConfigLocations, setIdcloseBeanFactory, createBeanFactory, customizeBeanFactory, getBeanFactory, hasBeanFactory, refreshBeanFactory, setAllowBeanDefinitionOverriding, setAllowCircularReferencesaddApplicationListener, addBeanFactoryPostProcessor, addListener, cancelRefresh, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, destroyBeans, doClose, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getDisplayName, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getResources, getStartupDate, getType, initApplicationEventMulticaster, initMessageSource, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, setDisplayName, setParent, start, stop, toStringgetClassLoader, getResourceByPath, setClassLoaderpublic JamesServerApplicationContext(String[] configs)
public org.springframework.core.io.Resource getResource(String fileURL)
getResource in interface org.springframework.core.io.ResourceLoadergetResource in class org.springframework.core.io.DefaultResourceLoaderDefaultResourceLoader.getResource(java.lang.String)public String getAbsoluteDirectory()
JamesResourceLoadergetAbsoluteDirectory in interface JamesResourceLoaderJamesResourceLoader.getAbsoluteDirectory()public String getConfDirectory()
JamesResourceLoadergetConfDirectory in interface JamesResourceLoaderJamesResourceLoader.getConfDirectory()public String getVarDirectory()
JamesResourceLoadergetVarDirectory in interface JamesResourceLoaderJamesResourceLoader.getVarDirectory()public String getRootDirectory()
JamesResourceLoadergetRootDirectory in interface JamesResourceLoaderJamesResourceLoader.getRootDirectory()protected static JamesServerApplicationContext.JamesServerResourceLoader getResourceLoader()
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.