Class ExtensionsController
java.lang.Object
it.uniroma2.art.semanticturkey.services.core.controllers.ExtensionsController
- All Implemented Interfaces:
IntrospectableController
,org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
@Controller
public class ExtensionsController
extends Object
implements org.springframework.context.ApplicationContextAware, IntrospectableController
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpEntity<Response<ExtensionPoint>>
getExtensionPointPublished
(String identifier) org.springframework.http.HttpEntity<Response<Collection<ExtensionPoint>>>
getExtensionPointsPublished
(Scope[] scopes) org.springframework.http.HttpEntity<Response<Collection<ExtensionFactory<?>>>>
getExtensionsPublished
(String extensionPointID) void
setApplicationContext
(org.springframework.context.ApplicationContext arg0)
-
Constructor Details
-
ExtensionsController
public ExtensionsController()
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext arg0) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getServiceSpecies
- Specified by:
getServiceSpecies
in interfaceIntrospectableController
-
getService
- Specified by:
getService
in interfaceIntrospectableController
-
getExtensionsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Extensions/getExtensions", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<ExtensionFactory<?>>>> getExtensionsPublished(@RequestParam("extensionPointID") String extensionPointID) -
getExtensionPointsPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Extensions/getExtensionPoints", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<Collection<ExtensionPoint>>> getExtensionPointsPublished(@RequestParam(value="scopes",required=false,defaultValue="") Scope[] scopes) -
getExtensionPointPublished
@RequestMapping(value="it.uniroma2.art.semanticturkey/st-core-services/Extensions/getExtensionPoint", method=GET, produces="application/json;charset=UTF-8") public org.springframework.http.HttpEntity<Response<ExtensionPoint>> getExtensionPointPublished(@RequestParam("identifier") String identifier)
-