public class DefaultAutoDeploymentStrategy extends AbstractServiceRegistryAutoDeploymentStrategy
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
autoDeployTenants |
static String |
DEPLOYMENT_MODE
The deployment mode this strategy handles.
|
deploymentProperties, logger| Constructor and Description |
|---|
DefaultAutoDeploymentStrategy() |
DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties,
Set<String> autoDeployTenants) |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<Resource> |
collectDeployments(Resource[] resources,
ServiceResourceConverter serviceResourceConverter) |
protected void |
deploy(String deploymentNameHint,
Collection<Resource> resources,
ServiceRegistryRepositoryService serviceRepositoryService,
String tenantId) |
protected void |
deployResourcesInternal(String deploymentNameHint,
Resource[] resources,
ServiceRegistryEngine engine) |
protected String |
getDeploymentMode() |
addResource, addResource, getLockManagerdeployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, handlesMode, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, setDeploymentPropertiespublic static final String DEPLOYMENT_MODE
public DefaultAutoDeploymentStrategy()
public DefaultAutoDeploymentStrategy(CommonAutoDeploymentProperties deploymentProperties, Set<String> autoDeployTenants)
protected String getDeploymentMode()
getDeploymentMode in class CommonAutoDeploymentStrategy<ServiceRegistryEngine>protected void deployResourcesInternal(String deploymentNameHint, Resource[] resources, ServiceRegistryEngine engine)
deployResourcesInternal in class CommonAutoDeploymentStrategy<ServiceRegistryEngine>protected void deploy(String deploymentNameHint, Collection<Resource> resources, ServiceRegistryRepositoryService serviceRepositoryService, String tenantId)
protected Collection<Resource> collectDeployments(Resource[] resources, ServiceResourceConverter serviceResourceConverter)