public class FileDeploymentManager extends Object implements Runnable, DeploymentManager
Modifier and Type | Class and Description |
---|---|
static class |
FileDeploymentManager.DeployInfo |
Constructor and Description |
---|
FileDeploymentManager(long period) |
Modifier and Type | Method and Description |
---|---|
Map<Pair<URI,Deployer>,FileDeploymentManager.DeployInfo> |
getDeployed() |
List<Deployer> |
getDeployers() |
boolean |
isStarted() |
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() |
void |
stop() |
void |
unregisterDeployer(Deployer deployer)
unregisters a deployable object which will handle the deployment of URL's
|
public void start() throws Exception
start
in interface HornetQComponent
Exception
public void stop()
stop
in interface HornetQComponent
public boolean isStarted()
isStarted
in interface HornetQComponent
public void registerDeployer(Deployer deployer) throws Exception
registerDeployer
in interface DeploymentManager
deployer
- The Deployer objectException
public void unregisterDeployer(Deployer deployer) throws Exception
DeploymentManager
unregisterDeployer
in interface DeploymentManager
deployer
- The deployable objectException
public void run()
public Map<Pair<URI,Deployer>,FileDeploymentManager.DeployInfo> getDeployed()
Copyright © 2018 JBoss by Red Hat. All rights reserved.