public class MuleContextFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<MuleContext>
FactoryBean which returns a fixed MuleContext| Constructor and Description |
|---|
MuleContextFactoryBean(MuleContext muleContext)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
MuleContext |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
public MuleContextFactoryBean(MuleContext muleContext)
muleContext - the context ot be returnedpublic MuleContext getObject() throws Exception
getObject in interface org.springframework.beans.factory.FactoryBean<MuleContext>Exceptionpublic Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<MuleContext>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<MuleContext>Copyright © 2003–2025 MuleSoft, Inc.. All rights reserved.