public class RestServiceDefinition extends AbstractServiceDefinition
Constructor and Description |
---|
RestServiceDefinition()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ServiceConfiguration |
configure() |
Map<Object,Object> |
getExtensionMappings() |
Map<Object,Object> |
getLanguageMappings() |
List<Object> |
getProviders() |
String |
getResourceClass() |
List<Object> |
getResources() |
Map<String,String> |
getResourceToClassNameMap() |
String |
getType()
Returns the type of this service.
|
boolean |
hasClass(String className) |
void |
setBusSecurity(Boolean busSecurity)
To ensure transparency that RESTful services are not digitally signed, throw an exception
if someone tries to enable bus security.
|
void |
setExtensionMappings(Map<Object,Object> extensionMappings) |
void |
setLanguageMappings(Map<Object,Object> languageMappings) |
void |
setProviders(List<Object> providers) |
void |
setResourceClass(String resourceClass)
Set the resourceClass, the class or interface marked by the JAX-WS annotations
which specify the RESTful URL interface.
|
void |
setResources(List<Object> resources) |
void |
validate()
does some simple validation of this RESTServiceDefinition
|
equals, establishEndpoint, getApplicationId, getBusSecurity, getCredentialsType, getEndpointUrl, getInstanceId, getLocalServiceName, getMessageExceptionHandler, getMillisToLive, getPriority, getRetryAttempts, getService, getServiceClassLoader, getServiceName, getServiceNameSpaceURI, getServicePath, getServiceVersion, hashCode, isBasicAuthentication, isQueue, setApplicationId, setBasicAuthentication, setCredentialsType, setEndpointUrl, setInstanceId, setLocalServiceName, setMessageExceptionHandler, setMillisToLive, setPriority, setQueue, setRetryAttempts, setService, setServiceClassLoader, setServiceName, setServiceNameSpaceURI, setServicePath, setServiceVersion, toString
public RestServiceDefinition()
public String getType()
ServiceDefinition
public void setBusSecurity(Boolean busSecurity)
setBusSecurity
in class AbstractServiceDefinition
org.kuali.rice.ksb.AbstractServiceDefinition.ServiceDefinition#setBusSecurity(java.lang.Boolean)
public void setResourceClass(String resourceClass)
resourceClass
- the resourceClass to setpublic String getResourceClass()
setResourceClass(String)
public void validate()
validate
in interface ServiceDefinition
validate
in class AbstractServiceDefinition
org.kuali.rice.ksb.AbstractServiceDefinition.ServiceDefinition#validate()
protected ServiceConfiguration configure()
configure
in class AbstractServiceDefinition
public List<Object> getResources()
public void setResources(List<Object> resources)
resources
- the resources to setpublic Map<String,String> getResourceToClassNameMap()
public boolean hasClass(String className)
className
- public List<Object> getProviders()
public void setProviders(List<Object> providers)
providers
- the providers to setpublic Map<Object,Object> getExtensionMappings()
public void setExtensionMappings(Map<Object,Object> extensionMappings)
extensionMappings
- the extensionMappings to setpublic Map<Object,Object> getLanguageMappings()
public void setLanguageMappings(Map<Object,Object> languageMappings)
languageMappings
- the languageMappings to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.