Class ProtonEngineFactory

  • All Implemented Interfaces:
    EngineFactory

    public final class ProtonEngineFactory
    extends java.lang.Object
    implements EngineFactory
    Factory class for proton Engine creation
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProtonEngineFactory

        public ProtonEngineFactory()
    • 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 interface EngineFactory
        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 interface EngineFactory
        Returns:
        a new raw AMQP aware Engine implementation.