Package org.apache.qpid.protonj2.engine
Interface EngineFactory
- 
- All Known Implementing Classes:
 ProtonEngineFactory
public interface EngineFactoryInterface used to define the basic mechanisms for creating Engine instances. 
- 
- 
Field Summary
Fields Modifier and Type Field Description static EngineFactoryPROTONThe Proton provided EngineFactory instance. 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnginecreateEngine()Create a new Engine instance with a SASL authentication layer added.EnginecreateNonSaslEngine()Create a new Engine instance that handles only raw AMQP with no SASL layer enabled. 
 - 
 
- 
- 
Field Detail
- 
PROTON
static final EngineFactory PROTON
The Proton provided EngineFactory instance. 
 - 
 
- 
Method Detail
- 
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.
 
 
 - 
 
 -