Interface IModule

All Known Implementing Classes:
AlteriteModule

public interface IModule
Modules must implement this interface to be loaded at runtime. At instanciation time, ORO-server will look for a constructor that takes a IOntologyBackend as first parameter and a
invalid reference
Properties
object as second parameter. The module will be instanciated with the current ontology backend and the server parameters coming from the configuration file. If this constructor doesn't exist, ORO-server will look in this order for:
  • Constructor(IOntologyBackend)
  • Constructor(Properties)
  • Constructor()
The name and version of the module must be specified in the module manifest. TODO:Complete the doc!
  • Method Summary

    Modifier and Type
    Method
    Description
    A null return is expected if the module doesn't provide any RPC service to register.
    void
    'Step' the module.
  • Method Details

    • getServiceProvider

      IServiceProvider getServiceProvider()
      A null return is expected if the module doesn't provide any RPC service to register.
      Returns:
    • step

      void step()
      'Step' the module. At each server main loop iteration, the 'step' method is called. The module can do here its own internal homeworks.