Element Summary

ElementDescriptionClass
class-loader-xml-preprocessorExtracts a ClassLoader definition from the xml document.org.apache.xbean.server.spring.configuration.ClassLoaderXmlPreprocessor
file-deployerDeploys services in a file systemorg.apache.xbean.server.deployer.FileDeployer
file-system-repositoryMaps resource ids to a directory on the local file system.org.apache.xbean.server.repository.FileSystemRepository
kernel-mainStandard entry point for a kernel based server.org.apache.xbean.server.main.KernelMain
load-all-mainLoads all configurations specified in the arguments passed to mainorg.apache.xbean.server.loader.LoadAllMain
spring-loaderLoads Spring xml configurations into a Kernelorg.apache.xbean.server.spring.loader.SpringLoader

Element Detail

Element: class-loader-xml-preprocessor

ElementTypeDescription
repositoryfile-system-repositorythe repository used to resolve the class path locations

Element: file-deployer

AttributeTypeDescription
baseDirxs:stringGets the base directory from which configuration locations are resolved.
showIgnoredFilesxs:booleanSets whether or not ignored files should be logged as they are encountered. This can sometimes be useful to catch typeos.
verbosexs:booleanAllows verbose logging to show what classpaths are being created
ElementTypeDescription
applicationContext<spring:bean/>
beanFactoryPostProcessors(<spring:bean/>)*Gets the BeanFactoryPostProcessors to apply to the configuration.
classLoader<spring:bean/>
jarDirectoryNames(<spring:bean/>)*Sets the names of the directories to be treated as folders of jars or class loader files. Defaults to "lib", "classes". If you wish to disable the use of lib and classes as being special folders containing jars or config files then just set this property to null or an empty array.
kernel<spring:bean/>Sets the kernel in which configurations are loaded.
xmlPreprocessors(<spring:bean/>)*Gets the SpringXmlPreprocessors applied to the configuration.

Element: file-system-repository

AttributeTypeDescription
rootxs:stringGets the root directory from which resources are resolved.

Element: kernel-main

AttributeTypeDescription
daemonxs:booleanDetermines if the main method should hold the thread until the kernel is destroyed.
ElementTypeDescription
classLoader<spring:bean/>Gets the class loader which is used as the thread context class loader during the main method.
kernel<spring:bean/>Gets the kernel that will be initialized in the main method. If the kernel is null, a new kernel will be created and initialized in the main method.
nextkernel-main | load-all-mainGets the next main to call after the kernel has been initialized, but before destroying the kernel.
services<spring:bean/>Gets the services to be registered with the kernel during the main method.

Element: load-all-main

ElementTypeDescription
kernel<spring:bean/>Gets the kernel in which configurations are loaded.
nextkernel-main | load-all-mainGets the next main instance to call.

Element: spring-loader

AttributeTypeDescription
baseDirxs:stringGets the base directory from which configuration locations are resolved.
ElementTypeDescription
beanFactoryPostProcessors(<spring:bean/>)*Gets the BeanFactoryPostProcessors to apply to the configuration.
kernel<spring:bean/>{@inheritDoc}
xmlPreprocessors(<spring:bean/>)*Gets the SpringXmlPreprocessors applied to the configuration.