1
2
3
4
5
6
7
8
9
10
11 package org.mule.routing;
12
13 import org.mule.management.stats.RouterStatistics;
14 import org.mule.umo.endpoint.UMOEndpoint;
15 import org.mule.umo.routing.UMORouterCatchAllStrategy;
16
17 import org.apache.commons.logging.Log;
18 import org.apache.commons.logging.LogFactory;
19
20
21
22
23
24
25
26
27
28
29
30 public abstract class AbstractCatchAllStrategy implements UMORouterCatchAllStrategy
31 {
32
33
34
35 protected transient Log logger = LogFactory.getLog(getClass());
36
37 protected UMOEndpoint endpoint;
38
39 protected RouterStatistics statistics;
40
41 public void setEndpoint(UMOEndpoint endpoint)
42 {
43 this.endpoint = endpoint;
44 }
45
46 public UMOEndpoint getEndpoint()
47 {
48 return endpoint;
49 }
50
51 public RouterStatistics getStatistics()
52 {
53 return statistics;
54 }
55
56 public void setStatistics(RouterStatistics statistics)
57 {
58 this.statistics = statistics;
59 }
60
61 }