org.mule.extras.spring.config
Class MuleApplicationContext

java.lang.Object
  extended byAbstractXmlApplicationContext
      extended byorg.mule.extras.spring.config.MuleApplicationContext

public class MuleApplicationContext
extends AbstractXmlApplicationContext

MuleApplicationContext is A Simple extension Application context that allows rosurces to be loaded from the Classpath of file system using the MuleBeanDefinitionReader.

Version:
$Revision: 1.2 $
Author:
Ross Mason
See Also:
MuleBeanDefinitionReader, Serialized Form

Constructor Summary
MuleApplicationContext(java.lang.String configLocation)
           
MuleApplicationContext(java.lang.String[] configLocations)
           
MuleApplicationContext(java.lang.String[] configLocations, boolean refresh)
           
 
Method Summary
protected  java.lang.String[] getConfigLocations()
           
protected  Resource getResourceByPath(java.lang.String path)
           
protected  void initBeanDefinitionReader(XmlBeanDefinitionReader xmlBeanDefinitionReader)
           
protected  void loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleApplicationContext

public MuleApplicationContext(java.lang.String configLocation)

MuleApplicationContext

public MuleApplicationContext(java.lang.String[] configLocations)

MuleApplicationContext

public MuleApplicationContext(java.lang.String[] configLocations,
                              boolean refresh)
                       throws BeansException
Method Detail

getConfigLocations

protected java.lang.String[] getConfigLocations()

getResourceByPath

protected Resource getResourceByPath(java.lang.String path)

initBeanDefinitionReader

protected void initBeanDefinitionReader(XmlBeanDefinitionReader xmlBeanDefinitionReader)

loadBeanDefinitions

protected void loadBeanDefinitions(DefaultListableBeanFactory beanFactory)
                            throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.