| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| KsbApiConstants | 
  | 
  | 2.0;2 | ||||
| KsbApiConstants$Namespaces | 
  | 
  | 2.0;2 | ||||
| KsbApiConstants$ServiceTypes | 
  | 
  | 2.0;2 | 
| 1 |  package org.kuali.rice.ksb.api; | |
| 2 | ||
| 3 |  import org.kuali.rice.core.api.CoreConstants; | |
| 4 | ||
| 5 |  /** | |
| 6 |   * Defines various constants that are used by or in conjunction with the KSB api. | |
| 7 |   *  | |
| 8 |   * @author Kuali Rice Team (rice.collab@kuali.org) | |
| 9 |   * | |
| 10 |   */ | |
| 11 | public final class KsbApiConstants {  | |
| 12 | ||
| 13 |          /** | |
| 14 |           * The name of the KSB module | |
| 15 |           */ | |
| 16 | public static final String KSB_MODULE_NAME = "KSB";  | |
| 17 | ||
| 18 |          /** | |
| 19 |           * Defines the set of out-of-the-box service types that the KSB understands. | |
| 20 |           */ | |
| 21 | 0 |          public static final class ServiceTypes { | 
| 22 | ||
| 23 |                  /** | |
| 24 |                   * The service type for services that use Spring's Http Invoker to perform Java Serialization over HTTP | |
| 25 |                   */ | |
| 26 | public static final String HTTP_INVOKER = "httpInvoker";  | |
| 27 | ||
| 28 |                  /** | |
| 29 |                   * The service type for services that use SOAP | |
| 30 |                   */ | |
| 31 | public static final String SOAP = "SOAP";  | |
| 32 | ||
| 33 |                  /** | |
| 34 |                   * The service type for services that use a REST-style approach  | |
| 35 |                   */ | |
| 36 | public static final String REST = "REST";  | |
| 37 | ||
| 38 | }  | |
| 39 | ||
| 40 |          /** | |
| 41 |           * Defines various namespace-related constants for the KSB. | |
| 42 |           */ | |
| 43 | 0 |          public static final class Namespaces { | 
| 44 | ||
| 45 |                  /** | |
| 46 |                   * The KSB namespace for version 2.x of Kuali Rice | |
| 47 |                   */ | |
| 48 | public static final String KSB_NAMESPACE_2_0 = CoreConstants.Namespaces.ROOT_NAMESPACE_PREFIX + "/ksb/" + CoreConstants.Versions.VERSION_2_0;  | |
| 49 | ||
| 50 | }  | |
| 51 | ||
| 52 | 0 |          private KsbApiConstants() { | 
| 53 | 0 |                  throw new UnsupportedOperationException("Should never be called!"); | 
| 54 | }  | |
| 55 | ||
| 56 | }  |