org.mule.extras.spring.config
Class MuleManagerBean

java.lang.Object
  extended byorg.mule.extras.spring.config.MuleManagerBean

public class MuleManagerBean
extends Object

This Bean can e used to bootstrap a MuleManager instance in a Spring context. This is different to the AutoWireUMOManagerFactoryBean in that the Manager is not initialised using beans from the ApplicationContext. Instead, a list of Mule Configuration resources can be passed in. The Configuration builder can be overloaded so that other types of configuration resources, such as BeanShell or Groovy scripts cn be used to actually configure the server. For example to pick up all Mule confuration resources from the classpath, use something like - ....


Constructor Summary
MuleManagerBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 ConfigurationBuilder getConfigurationBuilder()
           
 void onApplicationEvent(ApplicationEvent event)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setConfigResources(Resource[] configResources)
           
 void setConfigurationBuilder(ConfigurationBuilder configurationBuilder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleManagerBean

public MuleManagerBean()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Throws:
Exception

setConfigResources

public void setConfigResources(Resource[] configResources)

destroy

public void destroy()
             throws Exception
Throws:
Exception

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Throws:
BeansException

onApplicationEvent

public void onApplicationEvent(ApplicationEvent event)

getConfigurationBuilder

public ConfigurationBuilder getConfigurationBuilder()

setConfigurationBuilder

public void setConfigurationBuilder(ConfigurationBuilder configurationBuilder)


Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.