org.kuali.rice.ksb.api.bus.support
Class RestServiceConfiguration

java.lang.Object
  extended by org.kuali.rice.ksb.api.bus.support.AbstractServiceConfiguration
      extended by org.kuali.rice.ksb.api.bus.support.RestServiceConfiguration
All Implemented Interfaces:
Serializable, ServiceConfiguration

public final class RestServiceConfiguration
extends AbstractServiceConfiguration

See Also:
Serialized Form

Nested Class Summary
static class RestServiceConfiguration.Builder
           
(package private) static class RestServiceConfiguration.Constants
          Defines some internal constants used on this class.
(package private) static class RestServiceConfiguration.Elements
          A private class which exposes constants which define the XML element names to use when this object is marshalled to XML.
 
Nested classes/interfaces inherited from class org.kuali.rice.ksb.api.bus.support.AbstractServiceConfiguration
AbstractServiceConfiguration.CredentialsTypeAdapter
 
Field Summary
private  String resourceClass
           
private  Map<String,String> resourceToClassNameMap
           
private static long serialVersionUID
           
 
Constructor Summary
private RestServiceConfiguration()
          Private constructor used only by JAXB.
private RestServiceConfiguration(RestServiceConfiguration.Builder builder)
           
 
Method Summary
static RestServiceConfiguration fromServiceDefinition(RestServiceDefinition restServiceDefinition)
           
 String getResourceClass()
           
 Map<String,String> getResourceToClassNameMap()
          Returns a map of resource names to resource classes.
 boolean hasClass(String className)
           
 
Methods inherited from class org.kuali.rice.ksb.api.bus.support.AbstractServiceConfiguration
equals, getApplicationId, getBusSecurity, getCredentialsType, getEndpointUrl, getMessageExceptionHandler, getMillisToLive, getPriority, getRetryAttempts, getServiceName, getServiceVersion, getType, hashCode, isQueue
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

resourceClass

private final String resourceClass

resourceToClassNameMap

private final Map<String,String> resourceToClassNameMap
Constructor Detail

RestServiceConfiguration

private RestServiceConfiguration()
Private constructor used only by JAXB.


RestServiceConfiguration

private RestServiceConfiguration(RestServiceConfiguration.Builder builder)
Method Detail

fromServiceDefinition

public static RestServiceConfiguration fromServiceDefinition(RestServiceDefinition restServiceDefinition)

getResourceClass

public String getResourceClass()

getResourceToClassNameMap

public Map<String,String> getResourceToClassNameMap()
Returns a map of resource names to resource classes. Can be null if there are no mapped resources on this service configuration.

Returns:
the resource to class name map, or null if no resources have been mapped

hasClass

public boolean hasClass(String className)
Parameters:
className -
Returns:
true if this service contains a resource for the given class name


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.