~ubuntu-branches/ubuntu/maverick/geronimo-jms-1.1-spec/maverick

« back to all changes in this revision

Viewing changes to src/main/java/javax/jms/TopicSession.java

  • Committer: Bazaar Package Importer
  • Author(s): Thierry Carrez
  • Date: 2009-02-10 13:51:53 UTC
  • Revision ID: james.westby@ubuntu.com-20090210135153-rwgj7a2njoau9qbx
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Licensed to the Apache Software Foundation (ASF) under one
 
3
 * or more contributor license agreements.  See the NOTICE file
 
4
 * distributed with this work for additional information
 
5
 * regarding copyright ownership.  The ASF licenses this file
 
6
 * to you under the Apache License, Version 2.0 (the
 
7
 * "License"); you may not use this file except in compliance
 
8
 * with the License.  You may obtain a copy of the License at
 
9
 *
 
10
 *  http://www.apache.org/licenses/LICENSE-2.0
 
11
 *
 
12
 * Unless required by applicable law or agreed to in writing,
 
13
 * software distributed under the License is distributed on an
 
14
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 
15
 * KIND, either express or implied.  See the License for the
 
16
 * specific language governing permissions and limitations
 
17
 * under the License.
 
18
 */
 
19
 
 
20
//
 
21
// This source code implements specifications defined by the Java
 
22
// Community Process. In order to remain compliant with the specification
 
23
// DO NOT add / change / or delete method signatures!
 
24
//
 
25
 
 
26
package javax.jms;
 
27
 
 
28
/**
 
29
 * @version $Rev: 467553 $ $Date: 2006-10-25 04:01:51 +0000 (mer 25 oct 2006) $
 
30
 */
 
31
public interface TopicSession extends Session {
 
32
    Topic createTopic(String topicName) throws JMSException;
 
33
 
 
34
    TopicSubscriber createSubscriber(Topic topic) throws JMSException;
 
35
 
 
36
    TopicSubscriber createSubscriber(
 
37
        Topic topic,
 
38
        String messageSelector,
 
39
        boolean noLocal)
 
40
        throws JMSException;
 
41
 
 
42
    TopicSubscriber createDurableSubscriber(Topic topic, String name)
 
43
        throws JMSException;
 
44
 
 
45
    TopicSubscriber createDurableSubscriber(
 
46
        Topic topic,
 
47
        String name,
 
48
        String messageSelector,
 
49
        boolean noLocal)
 
50
        throws JMSException;
 
51
 
 
52
    TopicPublisher createPublisher(Topic topic) throws JMSException;
 
53
 
 
54
    TemporaryTopic createTemporaryTopic() throws JMSException;
 
55
 
 
56
    void unsubscribe(String name) throws JMSException;
 
57
}