当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface TemporaryTopic - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.jms
Interface TemporaryTopic
- All Superinterfaces:
- Destination, Topic
- public interface TemporaryTopic
- extends Topic
A TemporaryTopic object is a unique Topic object
created for the duration of a TopicConnection. It is a
system-defined topic that can be consumed only by the
TopicConnection that created it.
- See Also:
TopicSession.createTemporaryTopic()
|
Method Summary |
void |
delete()
Deletes this temporary topic. |
delete
public void delete()
throws JMSException
- Deletes this temporary topic. If there are existing subscribers
still using it, a
JMSException will be thrown.
- Throws:
JMSException - if the JMS provider fails to delete the
temporary topic due to some internal error.