Class STServiceTracker
java.lang.Object
it.uniroma2.art.semanticturkey.services.support.STServiceTracker
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public class STServiceTracker
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
This singleton object tracks services inside Semantic Turkey.
- Author:
- Manuel Fiorelli
-
Constructor Summary
ConstructorDescriptionSTServiceTracker
(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
getOperationDescription
(org.eclipse.rdf4j.model.IRI operationIRI) getServiceClasses
(String extensionPath) getServiceOperations
(String extensionPath, String serviceClass) void
indexApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
onApplicationEvent
(org.springframework.context.event.ContextRefreshedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
STServiceTracker
public STServiceTracker(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) - Specified by:
onApplicationEvent
in interfaceorg.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
-
indexApplicationContext
public void indexApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
destroy
@PreDestroy public void destroy() -
getExtensionPaths
-
getServiceClasses
-
getServiceOperations
-
getOperationDescription
public Optional<OperationDescription> getOperationDescription(org.eclipse.rdf4j.model.IRI operationIRI)
-