org.mule.config.spring.factories
Class FlowRefFactoryBean

java.lang.Object
  extended by org.mule.config.spring.factories.FlowRefFactoryBean
All Implemented Interfaces:
MuleContextAware, Disposable, Initialisable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<MessageProcessor>, org.springframework.context.ApplicationContextAware

public class FlowRefFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<MessageProcessor>, org.springframework.context.ApplicationContextAware, MuleContextAware, Initialisable, Disposable


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
FlowRefFactoryBean()
           
 
Method Summary
protected  MessageProcessor createDynamicReferenceMessageProcessor(String name)
           
 void dispose()
           
 MessageProcessor getObject()
           
 Class<?> getObjectType()
           
protected  MessageProcessor getReferencedFlow(String name, FlowConstruct flowConstruct)
           
 void initialise()
           
 boolean isSingleton()
           
protected  MessageProcessor lookupReferencedFlowInApplicationContext(String name)
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setMuleContext(MuleContext context)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowRefFactoryBean

public FlowRefFactoryBean()
Method Detail

setName

public void setName(String name)

initialise

public void initialise()
                throws InitialisationException
Specified by:
initialise in interface Initialisable
Throws:
InitialisationException

dispose

public void dispose()
Specified by:
dispose in interface Disposable

getObject

public MessageProcessor getObject()
                           throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<MessageProcessor>
Throws:
Exception

createDynamicReferenceMessageProcessor

protected MessageProcessor createDynamicReferenceMessageProcessor(String name)
                                                           throws MuleException
Throws:
MuleException

getReferencedFlow

protected MessageProcessor getReferencedFlow(String name,
                                             FlowConstruct flowConstruct)
                                      throws MuleException
Throws:
MuleException

lookupReferencedFlowInApplicationContext

protected MessageProcessor lookupReferencedFlowInApplicationContext(String name)

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<MessageProcessor>

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<MessageProcessor>

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

setMuleContext

public void setMuleContext(MuleContext context)
Specified by:
setMuleContext in interface MuleContextAware


Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.