Package com.tnsai.protocols
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.
Factory for creating ProtocolManagerHandle instances.
Discovered via ServiceLoader from tnsai-coordination.
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new protocol manager handle for the given agent.discover()Discovers a Factory via ServiceLoader.
-
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
Discovers a Factory via ServiceLoader.- Returns:
- discovered factory, or null if tnsai-coordination is not on classpath
-