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