org.mule.config.spring
Class SpringXmlConfigurationMuleArtifactFactory

java.lang.Object
  extended by org.mule.config.spring.SpringXmlConfigurationMuleArtifactFactory
All Implemented Interfaces:
org.mule.common.config.XmlConfigurationMuleArtifactFactory, org.mule.common.MuleArtifactFactory<Element,org.mule.common.config.XmlConfigurationCallback>

public class SpringXmlConfigurationMuleArtifactFactory
extends Object
implements org.mule.common.config.XmlConfigurationMuleArtifactFactory


Field Summary
static String BEANS_ELEMENT
           
static String IGNORE_UNRESOLVABLE_ATTR
           
static String NAME_ATTRIBUTE_NAME
           
static String REF_ATTRIBUTE_NAME
           
static String REF_SUFFIX
           
 
Constructor Summary
SpringXmlConfigurationMuleArtifactFactory()
           
 
Method Summary
protected  void addSchemaLocation(org.dom4j.Element rootElement, Element element, org.mule.common.config.XmlConfigurationCallback callback)
           
 org.dom4j.Element convert(Element element)
          Convert w3c element to dom4j element
protected  void dispose(SpringXmlConfigurationBuilder builder, MuleContext context)
           
protected  org.mule.common.MuleArtifact doGetArtifact(Element element, org.mule.common.config.XmlConfigurationCallback callback, boolean embedInFlow)
           
 org.mule.common.MuleArtifact getArtifact(Element element, org.mule.common.config.XmlConfigurationCallback callback)
           
 org.mule.common.MuleArtifact getArtifactForMessageProcessor(Element element, org.mule.common.config.XmlConfigurationCallback callback)
           
protected  String getArtifactMuleConfig(String flowName, Element element, org.mule.common.config.XmlConfigurationCallback callback, boolean embedInFlow)
           
 void returnArtifact(org.mule.common.MuleArtifact artifact)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEANS_ELEMENT

public static final String BEANS_ELEMENT
See Also:
Constant Field Values

IGNORE_UNRESOLVABLE_ATTR

public static final String IGNORE_UNRESOLVABLE_ATTR
See Also:
Constant Field Values

REF_SUFFIX

public static final String REF_SUFFIX
See Also:
Constant Field Values

REF_ATTRIBUTE_NAME

public static final String REF_ATTRIBUTE_NAME
See Also:
Constant Field Values

NAME_ATTRIBUTE_NAME

public static final String NAME_ATTRIBUTE_NAME
See Also:
Constant Field Values
Constructor Detail

SpringXmlConfigurationMuleArtifactFactory

public SpringXmlConfigurationMuleArtifactFactory()
Method Detail

getArtifact

public org.mule.common.MuleArtifact getArtifact(Element element,
                                                org.mule.common.config.XmlConfigurationCallback callback)
                                         throws org.mule.common.MuleArtifactFactoryException
Specified by:
getArtifact in interface org.mule.common.MuleArtifactFactory<Element,org.mule.common.config.XmlConfigurationCallback>
Throws:
org.mule.common.MuleArtifactFactoryException

getArtifactForMessageProcessor

public org.mule.common.MuleArtifact getArtifactForMessageProcessor(Element element,
                                                                   org.mule.common.config.XmlConfigurationCallback callback)
                                                            throws org.mule.common.MuleArtifactFactoryException
Specified by:
getArtifactForMessageProcessor in interface org.mule.common.MuleArtifactFactory<Element,org.mule.common.config.XmlConfigurationCallback>
Throws:
org.mule.common.MuleArtifactFactoryException

getArtifactMuleConfig

protected String getArtifactMuleConfig(String flowName,
                                       Element element,
                                       org.mule.common.config.XmlConfigurationCallback callback,
                                       boolean embedInFlow)
                                throws org.mule.common.MuleArtifactFactoryException
Throws:
org.mule.common.MuleArtifactFactoryException

doGetArtifact

protected org.mule.common.MuleArtifact doGetArtifact(Element element,
                                                     org.mule.common.config.XmlConfigurationCallback callback,
                                                     boolean embedInFlow)
                                              throws org.mule.common.MuleArtifactFactoryException
Throws:
org.mule.common.MuleArtifactFactoryException

addSchemaLocation

protected void addSchemaLocation(org.dom4j.Element rootElement,
                                 Element element,
                                 org.mule.common.config.XmlConfigurationCallback callback)

convert

public org.dom4j.Element convert(Element element)
                          throws ParserConfigurationException
Convert w3c element to dom4j element

Throws:
ParserConfigurationException

returnArtifact

public void returnArtifact(org.mule.common.MuleArtifact artifact)
Specified by:
returnArtifact in interface org.mule.common.MuleArtifactFactory<Element,org.mule.common.config.XmlConfigurationCallback>

dispose

protected void dispose(SpringXmlConfigurationBuilder builder,
                       MuleContext context)


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.