Class BackendFactory

java.lang.Object
com.quantum4j.core.backend.BackendFactory

public final class BackendFactory extends Object
Registry and factory for backend instances.
  • Method Details

    • get

      public static Backend get(BackendType type)
      Get a backend by type.
      Parameters:
      type - backend type
      Returns:
      backend instance or null if not registered
    • register

      public static void register(BackendType type, Backend backend)
      Register a backend for a given type.
      Parameters:
      type - backend type
      backend - backend instance