org.apache.servicemix.xbean
Class ClassLoaderXmlPreprocessor
java.lang.Object
org.apache.servicemix.xbean.ClassLoaderXmlPreprocessor
- All Implemented Interfaces:
- org.apache.xbean.spring.context.SpringXmlPreprocessor
public class ClassLoaderXmlPreprocessor
- extends Object
- implements org.apache.xbean.spring.context.SpringXmlPreprocessor
An advanced xml preprocessor that will create a default classloader for the SU if none
is configured.
- Author:
- gnodet
|
Method Summary |
protected ClassLoader |
getClassLoader(org.apache.xbean.spring.context.SpringApplicationContext applicationContext,
org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader,
Document document)
|
protected URL[] |
getDefaultLocations()
|
protected URL |
getResource(String location)
|
void |
preprocess(org.apache.xbean.spring.context.SpringApplicationContext applicationContext,
org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader,
Document document)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASSPATH_XML
public static final String CLASSPATH_XML
- See Also:
- Constant Field Values
LIB_DIR
public static final String LIB_DIR
- See Also:
- Constant Field Values
ClassLoaderXmlPreprocessor
public ClassLoaderXmlPreprocessor(File root)
preprocess
public void preprocess(org.apache.xbean.spring.context.SpringApplicationContext applicationContext,
org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader,
Document document)
- Specified by:
preprocess in interface org.apache.xbean.spring.context.SpringXmlPreprocessor
getResource
protected URL getResource(String location)
getDefaultLocations
protected URL[] getDefaultLocations()
getClassLoader
protected ClassLoader getClassLoader(org.apache.xbean.spring.context.SpringApplicationContext applicationContext,
org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader,
Document document)
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.