1
2
3
4
5
6
7
8
9
10
11 package org.mule.config.spring;
12
13 import org.mule.api.MuleContext;
14 import org.mule.api.MuleEvent;
15 import org.mule.api.MuleException;
16 import org.mule.api.context.MuleContextAware;
17 import org.mule.api.endpoint.ImmutableEndpoint;
18 import org.mule.api.lifecycle.InitialisationException;
19 import org.mule.api.transformer.DataType;
20 import org.mule.api.transformer.Transformer;
21 import org.mule.api.transformer.TransformerException;
22
23 import java.util.List;
24
25 public class DummyMuleContextAware implements MuleContextAware, Transformer
26 {
27
28 public void setMuleContext(MuleContext context)
29 {
30
31 }
32
33 public boolean isSourceTypeSupported(Class aClass)
34 {
35 return false;
36 }
37
38 public List<Class<?>> getSourceTypes()
39 {
40 return null;
41 }
42
43 public boolean isAcceptNull()
44 {
45 return false;
46 }
47
48 public boolean isIgnoreBadInput()
49 {
50 return false;
51 }
52
53 public Object transform(Object src, String encoding) throws TransformerException
54 {
55 return null;
56 }
57
58 public Object transform(Object src) throws TransformerException
59 {
60 return null;
61 }
62
63 public void setReturnClass(Class clazz)
64 {
65
66 }
67
68 public Class getReturnClass()
69 {
70 return null;
71 }
72
73 public ImmutableEndpoint getEndpoint()
74 {
75 return null;
76 }
77
78 public void setEndpoint(ImmutableEndpoint endpoint)
79 {
80
81 }
82
83 public void initialise() throws InitialisationException
84 {
85
86 }
87
88 public void dispose()
89 {
90
91 }
92
93 public void setName(String name)
94 {
95
96 }
97
98 public String getName()
99 {
100 return null;
101 }
102
103 public void setReturnDataType(DataType type)
104 {
105
106 }
107
108 public DataType getReturnDataType()
109 {
110 return null;
111 }
112
113 public boolean isSourceDataTypeSupported(DataType dataType)
114 {
115 return false;
116 }
117
118 public List<DataType<?>> getSourceDataTypes()
119 {
120 return null;
121 }
122
123 public String getMimeType()
124 {
125 return null;
126 }
127
128 public String getEncoding()
129 {
130 return null;
131 }
132
133 public MuleEvent process(MuleEvent event) throws MuleException
134 {
135 return null;
136 }
137 }