Package com.swiftmq.swiftlet.queue
Interface QueueFactory
-
public interface QueueFactory
Interface for queue factories.- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AbstractQueue
createQueue(java.lang.String queueName, Entity queueEntity)
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
-
-
-
Method Detail
-
registerUsage
boolean registerUsage()
Returns whether queues created from this factory should be registered in the Usage section of the management tree- Returns:
- true/false
-
createQueue
AbstractQueue createQueue(java.lang.String queueName, Entity queueEntity) throws QueueException
Creates a new abstract queue from the given entity.- Parameters:
queueName
- queue namequeueEntity
- queue entity- Throws:
QueueException
- on error creating the queue
-
-