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 SummaryFieldsModifier and TypeFieldDescriptionstatic final EngineFactoryThe Proton provided EngineFactory instance.
- 
Method SummaryModifier 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- 
PROTONThe Proton provided EngineFactory instance.
 
- 
- 
Method Details- 
createEngineEngine 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.
 
- 
createNonSaslEngineEngine createNonSaslEngine()Create a new Engine instance that handles only raw AMQP with no SASL layer enabled.- Returns:
- a new raw AMQP aware Engine implementation.
 
 
-