Interface MemoryFactoryProvider

All Superinterfaces:
Comparable<OrderedServiceProvider>, OrderedServiceProvider

public interface MemoryFactoryProvider extends OrderedServiceProvider
A Java Service Provider Interface (SPI) designed for creating various types of memory components used within the engine.
  • Method Details

    • instance

      <FH extends FactHandle> MemoryFactory<FH> instance(RuntimeContext<?> context, Class<FH> factHandleType)
      Parameters:
      context - - the context from which a new factory is requested
      factHandleType - - the type of the fact handles accepted by the factory
      Returns:
      the instance of MemoryFactory