1
2
3
4
5
6
7
8
9
10
11 package org.mule.model.direct;
12
13 import org.mule.api.MuleEvent;
14 import org.mule.api.MuleException;
15 import org.mule.api.MuleMessage;
16 import org.mule.service.AbstractService;
17
18 import java.util.List;
19
20
21
22
23
24 public class DirectService extends AbstractService
25 {
26
27
28
29 private static final long serialVersionUID = -8590955440156945732L;
30
31 protected List interceptorList = null;
32
33 public DirectService()
34 {
35 super();
36 }
37
38 protected MuleMessage doSend(MuleEvent event) throws MuleException
39 {
40 return component.onCall(event);
41 }
42
43 protected void doDispatch(MuleEvent event) throws MuleException
44 {
45 component.onCall(event);
46 }
47
48 }