org.jboss.jms.server
Interface DestinationManager
- public interface DestinationManager
- Version:
- $Revision: 1026 $
$Id: DestinationManager.java 1026 2006-07-27 19:01:57Z timfox $
- Author:
- Ovidiu Feodorov
Method Summary |
java.lang.String |
registerDestination(boolean isQueue,
java.lang.String name,
java.lang.String jndiName,
org.w3c.dom.Element securityConfig)
Method called by a destination service to register itself with the server peer. |
void |
unregisterDestination(boolean isQueue,
java.lang.String name)
Method called by a destination service to unregister itself from the server peer. |
registerDestination
public java.lang.String registerDestination(boolean isQueue,
java.lang.String name,
java.lang.String jndiName,
org.w3c.dom.Element securityConfig)
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.
- Returns:
- the name under which the destination was bound in JNDI.
- Throws:
java.lang.Exception
unregisterDestination
public void unregisterDestination(boolean isQueue,
java.lang.String name)
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
Copyright © 2006 JBoss Inc. All Rights Reserved.