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