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 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 interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
    • indexApplicationContext

      public void indexApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • destroy

      @PreDestroy public void destroy()
    • getExtensionPaths

      public Collection<String> getExtensionPaths()
    • getServiceClasses

      public Collection<String> getServiceClasses(String extensionPath)
    • getServiceOperations

      public Collection<String> getServiceOperations(String extensionPath, String serviceClass)
    • getOperationDescription

      public Optional<OperationDescription> getOperationDescription(org.eclipse.rdf4j.model.IRI operationIRI)