Package org.apache.qpid.protonj2.engine
Interface EngineFactory
- All Known Implementing Classes:
ProtonEngineFactory
public interface EngineFactory
Interface used to define the basic mechanisms for creating Engine instances.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final EngineFactory
The Proton provided EngineFactory instance. -
Method Summary
Modifier and TypeMethodDescriptionCreate a new Engine instance with a SASL authentication layer added.Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.
-
Field Details
-
PROTON
The Proton provided EngineFactory instance.
-
-
Method Details
-
createEngine
Engine createEngine()Create a new Engine instance with a SASL authentication layer added. The returned Engine can either be fully pre-configured for SASL or can require additional user configuration.- Returns:
- a new Engine instance that can handle SASL authentication.
-
createNonSaslEngine
Engine createNonSaslEngine()Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.- Returns:
- a new raw AMQP aware Engine implementation.
-