org.kuali.rice.ksb.api.bus.support
Class RestServiceConfiguration
java.lang.Object
org.kuali.rice.ksb.api.bus.support.AbstractServiceConfiguration
org.kuali.rice.ksb.api.bus.support.RestServiceConfiguration
- All Implemented Interfaces:
- Serializable, ServiceConfiguration
public final class RestServiceConfiguration
- extends AbstractServiceConfiguration
- See Also:
- Serialized Form
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
resourceClass
private final String resourceClass
resourceToClassNameMap
private final Map<String,String> resourceToClassNameMap
RestServiceConfiguration
private RestServiceConfiguration()
- Private constructor used only by JAXB.
RestServiceConfiguration
private RestServiceConfiguration(RestServiceConfiguration.Builder builder)
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.