Package com.swiftmq.jms
Class TemporaryQueueImpl
- java.lang.Object
-
- com.swiftmq.jms.QueueImpl
-
- com.swiftmq.jms.TemporaryQueueImpl
-
- All Implemented Interfaces:
DestinationImpl
,java.io.Serializable
,javax.jms.Destination
,javax.jms.Queue
,javax.jms.TemporaryQueue
,javax.naming.Referenceable
public class TemporaryQueueImpl extends QueueImpl implements javax.jms.TemporaryQueue
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemporaryQueueImpl(java.lang.String queueName, SwiftMQConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
int
getType()
boolean
isCreatungSession(SessionImpl session)
void
setCreatingSession(SessionImpl creatingSession)
-
Methods inherited from class com.swiftmq.jms.QueueImpl
getQueueName, getReference, readContent, setQueueName, toString, unfoldBuffers, writeContent
-
-
-
-
Constructor Detail
-
TemporaryQueueImpl
public TemporaryQueueImpl(java.lang.String queueName, SwiftMQConnection connection)
-
-
Method Detail
-
getType
public int getType()
- Specified by:
getType
in interfaceDestinationImpl
- Overrides:
getType
in classQueueImpl
-
setCreatingSession
public void setCreatingSession(SessionImpl creatingSession)
-
isCreatungSession
public boolean isCreatungSession(SessionImpl session)
-
delete
public void delete() throws javax.jms.JMSException
- Specified by:
delete
in interfacejavax.jms.TemporaryQueue
- Throws:
javax.jms.JMSException
-
-