1
2
3
4
5
6
7
8
9
10 package org.mule.api.registry;
11
12
13
14
15 public enum ServiceType
16 {
17 TRANSPORT("transport", "org/mule/transport"),
18 MODEL("model", "org/mule/model"),
19 EXCEPTION("exception", "org/mule/config");
20
21 private String name;
22 private String path;
23
24 ServiceType(String name, String path)
25 {
26 this.name = name;
27 this.path = path;
28 }
29
30 @Override
31 public String toString()
32 {
33 return name + ": " + path;
34 }
35
36 public String getPath()
37 {
38 return path;
39 }
40
41 public String getName()
42 {
43 return name;
44 }
45 }
46
47