org.mule.config.spring
Class DummyMuleContextAware
java.lang.Object
org.mule.config.spring.DummyMuleContextAware
- All Implemented Interfaces:
- MuleContextAware, Disposable, Initialisable, NameableObject, NamedObject, MessageProcessor, Transformer, EndpointAware
public class DummyMuleContextAware
- extends Object
- implements MuleContextAware, Transformer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DummyMuleContextAware
public DummyMuleContextAware()
setMuleContext
public void setMuleContext(MuleContext context)
- Specified by:
setMuleContext
in interface MuleContextAware
isSourceTypeSupported
public boolean isSourceTypeSupported(Class aClass)
- Specified by:
isSourceTypeSupported
in interface Transformer
getSourceTypes
public List<Class<?>> getSourceTypes()
- Specified by:
getSourceTypes
in interface Transformer
isAcceptNull
public boolean isAcceptNull()
- Specified by:
isAcceptNull
in interface Transformer
isIgnoreBadInput
public boolean isIgnoreBadInput()
- Specified by:
isIgnoreBadInput
in interface Transformer
transform
public Object transform(Object src,
String encoding)
throws TransformerException
- Specified by:
transform
in interface Transformer
- Throws:
TransformerException
transform
public Object transform(Object src)
throws TransformerException
- Specified by:
transform
in interface Transformer
- Throws:
TransformerException
setReturnClass
public void setReturnClass(Class clazz)
- Specified by:
setReturnClass
in interface Transformer
getReturnClass
public Class getReturnClass()
- Specified by:
getReturnClass
in interface Transformer
getEndpoint
public ImmutableEndpoint getEndpoint()
- Specified by:
getEndpoint
in interface Transformer
setEndpoint
public void setEndpoint(ImmutableEndpoint endpoint)
- Specified by:
setEndpoint
in interface EndpointAware
initialise
public void initialise()
throws InitialisationException
- Specified by:
initialise
in interface Initialisable
- Throws:
InitialisationException
dispose
public void dispose()
- Specified by:
dispose
in interface Disposable
setName
public void setName(String name)
- Specified by:
setName
in interface NameableObject
getName
public String getName()
- Specified by:
getName
in interface NamedObject
setReturnDataType
public void setReturnDataType(DataType type)
- Specified by:
setReturnDataType
in interface Transformer
getReturnDataType
public DataType getReturnDataType()
- Specified by:
getReturnDataType
in interface Transformer
isSourceDataTypeSupported
public boolean isSourceDataTypeSupported(DataType dataType)
- Specified by:
isSourceDataTypeSupported
in interface Transformer
getSourceDataTypes
public List<DataType<?>> getSourceDataTypes()
- Specified by:
getSourceDataTypes
in interface Transformer
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface Transformer
getEncoding
public String getEncoding()
- Specified by:
getEncoding
in interface Transformer
process
public MuleEvent process(MuleEvent event)
throws MuleException
- Specified by:
process
in interface MessageProcessor
- Throws:
MuleException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.