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

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

public final class RestServiceConfiguration
extends AbstractServiceConfiguration

See Also:
Serialized Form

Nested Class Summary
static class RestServiceConfiguration.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
getApplicationId, getBusSecurity, getCredentialsType, getEndpointUrl, getInstanceId, getMessageExceptionHandler, getMillisToLive, getPriority, getRetryAttempts, getServiceName, getServiceVersion, getType, isBasicAuthentication, isQueue
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 © 2005-2013 The Kuali Foundation. All Rights Reserved.