org.jboss.messaging.core.deployers
Interface Deployer

All Superinterfaces:
MessagingComponent
All Known Implementing Classes:
AddressSettingsDeployer, BasicUserCredentialsDeployer, JMSServerDeployer, QueueDeployer, SecurityDeployer, XmlDeployer

public interface Deployer
extends MessagingComponent

abstract class that helps with deployment of messaging components.

Author:
Andy Taylor

Method Summary
 void deploy(java.net.URL url)
          Deploy the URL for the first time
 java.lang.String[] getConfigFileNames()
          The name of the configuration files to look for for deployment
 void redeploy(java.net.URL url)
          Redeploys a URL if changed
 void undeploy(java.net.URL url)
          Undeploys a resource that has been removed
 
Methods inherited from interface org.jboss.messaging.core.server.MessagingComponent
isStarted, start, stop
 

Method Detail

getConfigFileNames

java.lang.String[] getConfigFileNames()
The name of the configuration files to look for for deployment

Returns:
The names of the config files

deploy

void deploy(java.net.URL url)
            throws java.lang.Exception
Deploy the URL for the first time

Parameters:
url - The resource todeploy
Throws:
java.lang.Exception - .

redeploy

void redeploy(java.net.URL url)
              throws java.lang.Exception
Redeploys a URL if changed

Parameters:
url - The resource to redeploy
Throws:
java.lang.Exception - .

undeploy

void undeploy(java.net.URL url)
              throws java.lang.Exception
Undeploys a resource that has been removed

Parameters:
url - The Resource that was deleted
Throws:
java.lang.Exception - .


Copyright © 2006 JBoss Inc. All Rights Reserved.