org.jboss.messaging.core.deployers.impl
Class FileDeploymentManager
java.lang.Object
org.jboss.messaging.core.deployers.impl.FileDeploymentManager
- All Implemented Interfaces:
- java.lang.Runnable, DeploymentManager, MessagingComponent
public class FileDeploymentManager
- extends java.lang.Object
- implements java.lang.Runnable, DeploymentManager
- Author:
- Andy Taylor, Tim Fox
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileDeploymentManager
public FileDeploymentManager(long period)
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface MessagingComponent
- Throws:
java.lang.Exception
stop
public void stop()
- Specified by:
stop
in interface MessagingComponent
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface MessagingComponent
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)
throws java.lang.Exception
- 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
- Throws:
java.lang.Exception
- .
run
public void run()
- called by the ExecutorService every n seconds
- Specified by:
run
in interface java.lang.Runnable
getDeployers
public java.util.List<Deployer> getDeployers()
getDeployed
public java.util.Map<Pair<java.net.URL,Deployer>,FileDeploymentManager.DeployInfo> getDeployed()
Copyright © 2006 JBoss Inc. All Rights Reserved.