Class CompositeQueueFactory

  • All Implemented Interfaces:
    QueueFactory

    public class CompositeQueueFactory
    extends java.lang.Object
    implements QueueFactory
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AbstractQueue createQueue​(java.lang.String queueName, Entity compositeQueueEntity)
      Creates a new abstract queue from the given entity.
      boolean registerUsage()
      Returns whether queues created from this factory should be registered in the Usage section of the management tree
      • Methods inherited from class java.lang.Object

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

      • CompositeQueueFactory

        public CompositeQueueFactory​(SwiftletContext ctx)
    • Method Detail

      • registerUsage

        public boolean registerUsage()
        Description copied from interface: QueueFactory
        Returns whether queues created from this factory should be registered in the Usage section of the management tree
        Specified by:
        registerUsage in interface QueueFactory
        Returns:
        true/false
      • createQueue

        public AbstractQueue createQueue​(java.lang.String queueName,
                                         Entity compositeQueueEntity)
                                  throws QueueException
        Description copied from interface: QueueFactory
        Creates a new abstract queue from the given entity.
        Specified by:
        createQueue in interface QueueFactory
        Parameters:
        queueName - queue name
        compositeQueueEntity - queue entity
        Throws:
        QueueException - on error creating the queue