org.mule.config.spring
Class MuleConfigurationConfigurator
java.lang.Object
org.mule.config.spring.MuleConfigurationConfigurator
- All Implemented Interfaces:
- MuleContextAware, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.SmartFactoryBean
public class MuleConfigurationConfigurator
- extends Object
- implements MuleContextAware, org.springframework.beans.factory.SmartFactoryBean
This class is a "SmartFactoryBean" which allows a few XML attributes to be set on the
otherwise read-only MuleConfiguration. It looks up the MuleConfiguration from the
MuleContext and does some class-casting to be able to modify it. Note that this will
only work if the MuleContext has not yet been started, otherwise the modifications
will be ignored (and warnings logged).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected transient Log logger
MuleConfigurationConfigurator
public MuleConfigurationConfigurator()
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext in interface MuleContextAware
isEagerInit
public boolean isEagerInit()
- Specified by:
isEagerInit in interface org.springframework.beans.factory.SmartFactoryBean
isPrototype
public boolean isPrototype()
- Specified by:
isPrototype in interface org.springframework.beans.factory.SmartFactoryBean
getObject
public Object getObject()
throws Exception
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean
setDefaultSynchronousEndpoints
public void setDefaultSynchronousEndpoints(boolean synchronous)
setDefaultResponseTimeout
public void setDefaultResponseTimeout(int responseTimeout)
setDefaultTransactionTimeout
public void setDefaultTransactionTimeout(int defaultTransactionTimeout)
setShutdownTimeout
public void setShutdownTimeout(int shutdownTimeout)
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.