org.jboss.messaging.core.deployers.impl
Class FileDeploymentManager

java.lang.Object
  extended by org.jboss.messaging.core.deployers.impl.FileDeploymentManager
All Implemented Interfaces:
java.lang.Runnable, DeploymentManager

public class FileDeploymentManager
extends java.lang.Object
implements java.lang.Runnable, DeploymentManager

Author:
Andy Taylor

Constructor Summary
FileDeploymentManager()
           
 
Method Summary
 void registerDeployer(Deployer Deployer)
          registers a Deployer object which will handle the deployment of URL's
 void run()
          called by the ExecutorService every n seconds
 void start(int weight)
           
 void stop()
           
 void unregisterDeployer(Deployer Deployer)
          unregisters a deployable object which will handle the deployment of URL's
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileDeploymentManager

public FileDeploymentManager()
Method Detail

start

public void start(int weight)
           throws java.lang.Exception
Specified by:
start in interface DeploymentManager
Throws:
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface DeploymentManager

registerDeployer

public void registerDeployer(Deployer Deployer)
                      throws java.lang.Exception
registers a Deployer object which will handle the deployment of URL's

Specified by:
registerDeployer in interface DeploymentManager
Parameters:
Deployer - The Deployer object
Throws:
java.lang.Exception - .

unregisterDeployer

public void unregisterDeployer(Deployer Deployer)
Description copied from interface: DeploymentManager
unregisters a deployable object which will handle the deployment of URL's

Specified by:
unregisterDeployer in interface DeploymentManager
Parameters:
Deployer - The deployable object

run

public void run()
called by the ExecutorService every n seconds

Specified by:
run in interface java.lang.Runnable


Copyright © 2006 JBoss Inc. All Rights Reserved.