org.jboss.messaging.core.deployers
Interface Deployer

All Superinterfaces:
MessagingComponent
All Known Implementing Classes:
JMSServerDeployer, QueueSettingsDeployer, SecurityDeployer, SecurityManagerDeployer, 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 getConfigFileName()
          The name of the configuration file name to look for for deployment
 int getWeight()
          the weight of the deployer, used for ordering the order that deployers are deployed.
 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
start, stop
 

Method Detail

getConfigFileName

java.lang.String getConfigFileName()
The name of the configuration file name to look for for deployment

Returns:
The name of the config file

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 - .

getWeight

int getWeight()
the weight of the deployer, used for ordering the order that deployers are deployed.

Returns:
the weight


Copyright © 2006 JBoss Inc. All Rights Reserved.