1   /*
2    * $Id: DummyMuleContextAware.java 11517 2008-03-31 21:34:19Z dirk.olmes $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSource, Inc.  All rights reserved.  http://www.mulesource.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.config.spring;
12  
13  import org.mule.api.MuleContext;
14  import org.mule.api.context.MuleContextAware;
15  import org.mule.api.endpoint.ImmutableEndpoint;
16  import org.mule.api.lifecycle.InitialisationException;
17  import org.mule.api.transformer.Transformer;
18  import org.mule.api.transformer.TransformerException;
19  
20  import java.util.List;
21  
22  public class DummyMuleContextAware implements MuleContextAware, Transformer
23  {
24  
25      public void setMuleContext(MuleContext context)
26      {
27          // empty
28      }
29  
30      public boolean isSourceTypeSupported(Class aClass)
31      {
32          return false;
33      }
34  
35      public List getSourceTypes()
36      {
37          return null;
38      }
39  
40      public boolean isAcceptNull()
41      {
42          return false;
43      }
44  
45      public boolean isIgnoreBadInput()
46      {
47          return false;
48      }
49  
50      public Object transform(Object src) throws TransformerException
51      {
52          return null;
53      }
54  
55      public void setReturnClass(Class theClass)
56      {
57          // empty
58      }
59  
60      public Class getReturnClass()
61      {
62          return null;
63      }
64  
65      public ImmutableEndpoint getEndpoint()
66      {
67          return null;
68      }
69  
70      public void setEndpoint(ImmutableEndpoint endpoint)
71      {
72          // empty
73      }
74  
75      public void initialise() throws InitialisationException
76      {
77          // empty
78      }
79  
80      public void setName(String name)
81      {
82          // empty
83      }
84  
85      public String getName()
86      {
87          return null;
88      }
89  
90  }