| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ksb.api.bus.support.AbstractServiceDefinition
org.kuali.rice.ksb.api.bus.support.RestServiceDefinition
public class RestServiceDefinition
Service definition for RESTful services. A JAX-WS service has a resource class, which is the class or interface marked by the JAX-WS annotations (e.g. @Path, @GET, etc). This may or may not be the implementation class.
| Constructor Summary | |
|---|---|
| RestServiceDefinition()Default constructor. | |
| Method Summary | |
|---|---|
| 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 | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public RestServiceDefinition()
| Method Detail | 
|---|
public String getType()
ServiceDefinition
public void setBusSecurity(Boolean busSecurity)
setBusSecurity in class AbstractServiceDefinitionorg.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 ServiceDefinitionvalidate in class AbstractServiceDefinitionorg.kuali.rice.ksb.AbstractServiceDefinition.ServiceDefinition#validate()protected ServiceConfiguration configure()
configure in class AbstractServiceDefinitionpublic 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 set| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||