Class ProtonEngineFactory
- java.lang.Object
-
- org.apache.qpid.protonj2.engine.impl.ProtonEngineFactory
-
- All Implemented Interfaces:
EngineFactory
public final class ProtonEngineFactory extends Object implements EngineFactory
Factory class for proton Engine creation
-
-
Field Summary
-
Fields inherited from interface org.apache.qpid.protonj2.engine.EngineFactory
PROTON
-
-
Constructor Summary
Constructors Constructor Description ProtonEngineFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Engine
createEngine()
Create a new Engine instance with a SASL authentication layer added.Engine
createNonSaslEngine()
Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.
-
-
-
Method Detail
-
createEngine
public Engine createEngine()
Description copied from interface:EngineFactory
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.- Specified by:
createEngine
in interfaceEngineFactory
- Returns:
- a new Engine instance that can handle SASL authentication.
-
createNonSaslEngine
public Engine createNonSaslEngine()
Description copied from interface:EngineFactory
Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.- Specified by:
createNonSaslEngine
in interfaceEngineFactory
- Returns:
- a new raw AMQP aware Engine implementation.
-
-