org.jboss.jms.server
Interface DestinationManager

All Superinterfaces:
MessagingComponent

public interface DestinationManager
extends MessagingComponent

Version:
$Revision: 2868 $ $Id: DestinationManager.java 2868 2007-07-10 20:22:16Z timfox $
Author:
Ovidiu Feodorov, Tim Fox

Method Summary
 ManagedDestination getDestination(java.lang.String name, boolean isQueue)
           
 java.util.Set getDestinations()
           
 void registerDestination(ManagedDestination destination)
          Method called by a destination service to register itself with the server peer.
 void unregisterDestination(ManagedDestination destination)
          Method called by a destination service to unregister itself from the server peer.
 
Methods inherited from interface org.jboss.messaging.core.contract.MessagingComponent
start, stop
 

Method Detail

registerDestination

void registerDestination(ManagedDestination destination)
                         throws java.lang.Exception
Method called by a destination service to register itself with the server peer. The server peer will create and maintain state on behalf of the destination until the destination unregisters itself.

Throws:
java.lang.Exception

unregisterDestination

void unregisterDestination(ManagedDestination destination)
                           throws java.lang.Exception
Method called by a destination service to unregister itself from the server peer. The server peer is supposed to clean up the state maintained on behalf of the unregistered destination.

Throws:
java.lang.Exception

getDestination

ManagedDestination getDestination(java.lang.String name,
                                  boolean isQueue)

getDestinations

java.util.Set getDestinations()


Copyright © 2006 JBoss Inc. All Rights Reserved.