Interface ProtocolManagerHandle.Factory

Enclosing interface:
ProtocolManagerHandle
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ProtocolManagerHandle.Factory
Factory for creating ProtocolManagerHandle instances. Discovered via ServiceLoader from tnsai-coordination.
  • Method Details

    • create

      Creates a new protocol manager handle for the given agent.
      Parameters:
      agent - agent to manage protocols for
      Returns:
      new handle instance
    • discover

      static ProtocolManagerHandle.Factory discover()
      Discovers a Factory via ServiceLoader.
      Returns:
      discovered factory, or null if tnsai-coordination is not on classpath