View Javadoc

1   /***
2    * 
3    * Copyright RAJD Consultancy Ltd
4    * 
5    * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
6    * the License. You may obtain a copy of the License at
7    * 
8    * http://www.apache.org/licenses/LICENSE-2.0
9    * 
10   * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
11   * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
12   * specific language governing permissions and limitations under the License.
13   * 
14   */
15  package org.logicblaze.lingo.jmx.remote.jms;
16  
17  import javax.jms.Destination;
18  import javax.management.MBeanServerConnection;
19  import javax.management.ObjectName;
20  /***
21   * @version $Revision: 1.1 $
22   */
23  public interface  MBeanJmsServerConnection extends  MBeanServerConnection{
24          
25      /***
26       * Add a Notification listener
27       * @param listenerId
28       * @param name
29       * @param replyToDestination
30       */
31      public void addNotificationListener(String listenerId, ObjectName name, Destination replyToDestination);
32      
33      /***
34       * Remove a Notification listener
35       * @param listenerId
36       */
37      public void removeNotificationListener(String listenerId);
38      
39  }