Class ProtonEngineFactory
java.lang.Object
org.apache.qpid.protonj2.engine.impl.ProtonEngineFactory
- All Implemented Interfaces:
EngineFactory
Factory class for proton Engine creation
-
Field Summary
Fields inherited from interface org.apache.qpid.protonj2.engine.EngineFactory
PROTON
-
Constructor Summary
-
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.
-
Constructor Details
-
ProtonEngineFactory
public ProtonEngineFactory()
-
-
Method Details
-
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
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.
-