|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizationManager
public final class DeploymentSynchronizationManager
This class is responsible for creating DeploymentSynchronizer instances as and when necessary and keeping track of them for management purposes. It also provides a base framework for scheduling automatic repository synchronization tasks.
| Method Summary | |
|---|---|
DeploymentSynchronizer |
createSynchronizer(int tenantId,
ArtifactRepository artifactRepository,
String filePath)
Creates a new DeploymentSynchronizer instance using the provided parameters. |
DeploymentSynchronizer |
deleteSynchronizer(int tenantId)
|
DeploymentSynchronizer |
deleteSynchronizer(String filePath)
Deletes the DeploymentSynchronizer for the specified file path. |
static DeploymentSynchronizationManager |
getInstance()
|
DeploymentSynchronizer |
getSynchronizer(int tenantId)
|
DeploymentSynchronizer |
getSynchronizer(String filePath)
|
Map<String,DeploymentSynchronizer> |
getSynchronizers()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DeploymentSynchronizationManager getInstance()
public DeploymentSynchronizer createSynchronizer(int tenantId,
ArtifactRepository artifactRepository,
String filePath)
artifactRepository - ArtifactRepository representing the remote repositoryfilePath - File path in the local file system
public DeploymentSynchronizer getSynchronizer(String filePath)
public DeploymentSynchronizer getSynchronizer(int tenantId)
public Map<String,DeploymentSynchronizer> getSynchronizers()
public DeploymentSynchronizer deleteSynchronizer(String filePath)
filePath - File path on which the repository is created
public DeploymentSynchronizer deleteSynchronizer(int tenantId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||