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 public abstract class AbstractCatchAllStrategy implements UMORouterCatchAllStrategy
28 {
29
30
31
32 protected transient Log logger = LogFactory.getLog(getClass());
33
34 protected UMOEndpoint endpoint;
35
36 protected RouterStatistics statistics;
37
38 public void setEndpoint(UMOEndpoint endpoint)
39 {
40 this.endpoint = endpoint;
41 }
42
43 public UMOEndpoint getEndpoint()
44 {
45 return endpoint;
46 }
47
48 public RouterStatistics getStatistics()
49 {
50 return statistics;
51 }
52
53 public void setStatistics(RouterStatistics statistics)
54 {
55 this.statistics = statistics;
56 }
57
58 }