View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.api.registry;
8   
9   /**
10   * TODO
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