Element | Description | Class |
---|---|---|
class-loader-xml-preprocessor | Extracts a ClassLoader definition from the xml document. | org.apache.xbean.server.spring.configuration.ClassLoaderXmlPreprocessor |
file-deployer | Deploys services in a file system | org.apache.xbean.server.deployer.FileDeployer |
file-system-repository | Maps resource ids to a directory on the local file system. | org.apache.xbean.server.repository.FileSystemRepository |
kernel-main | Standard entry point for a kernel based server. | org.apache.xbean.server.main.KernelMain |
load-all-main | Loads all configurations specified in the arguments passed to main | org.apache.xbean.server.loader.LoadAllMain |
spring-loader | Loads Spring xml configurations into a Kernel | org.apache.xbean.server.spring.loader.SpringLoader |
Element | Type | Description |
---|---|---|
repository | file-system-repository | the repository used to resolve the class path locations |
Attribute | Type | Description |
---|---|---|
baseDir | xs:string | Gets the base directory from which configuration locations are resolved. |
showIgnoredFiles | xs:boolean | Sets whether or not ignored files should be logged as they are encountered. This can sometimes be useful to catch typeos. |
verbose | xs:boolean | Allows verbose logging to show what classpaths are being created |
Element | Type | Description |
---|---|---|
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. |
Attribute | Type | Description |
---|---|---|
root | xs:string | Gets the root directory from which resources are resolved. |
Attribute | Type | Description |
---|---|---|
daemon | xs:boolean | Determines if the main method should hold the thread until the kernel is destroyed. |
Element | Type | Description |
---|---|---|
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. |
next | kernel-main | load-all-main | Gets 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 | Type | Description |
---|---|---|
kernel | <spring:bean/> | Gets the kernel in which configurations are loaded. |
next | kernel-main | load-all-main | Gets the next main instance to call. |
Attribute | Type | Description |
---|---|---|
baseDir | xs:string | Gets the base directory from which configuration locations are resolved. |
Element | Type | Description |
---|---|---|
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. |