public class DefaultDocumentDefinitionAutoDeployer extends CommonAutoDeployer implements Ordered
Modifier and Type | Field and Description |
---|---|
protected Set<String> |
autoDeployTenants |
protected CoreContentEngineConfigurationApi |
contentEngineConfiguration |
static String |
DEFAULT_DEPLOYMENT_NAME |
static int |
DEFAULT_ORDER |
protected String |
deploymentName |
protected Function<String,LockManager> |
lockManagerProvider |
protected int |
order |
applicationContext, deploymentProperties, deploymentResources
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
DefaultDocumentDefinitionAutoDeployer(Collection<Resource> deploymentResources,
CoreContentEngineConfigurationApi contentEngineConfiguration,
Function<String,LockManager> lockManagerProvider,
Set<String> autoDeployTenants,
CommonAutoDeploymentProperties deploymentProperties) |
DefaultDocumentDefinitionAutoDeployer(Collection<Resource> deploymentResources,
CoreContentEngineConfigurationApi contentEngineConfiguration,
Function<String,LockManager> lockManagerProvider,
String deploymentName,
Set<String> autoDeployTenants,
CommonAutoDeploymentProperties deploymentProperties) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Resource> |
collectDeploymentResources(Collection<Resource> resources) |
protected void |
deploy(Collection<Resource> resources,
String tenantId) |
protected void |
deployResourcesInternal(Collection<Resource> resources)
Methods that should be implemented by sub classes to perform the actual deployment.
|
protected LockManager |
getLockManager()
Get the lock manager for the current deployer.
|
int |
getOrder() |
void |
setOrder(int order) |
deployResources, determineLockName, determineResourceName, getDeploymentLockWaitTime, getDeploymentProperties, getLockName, isThrowExceptionOnDeploymentFailure, isUseLockForDeployments, onApplicationEvent, setApplicationContext, setDeploymentProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forPayload
public static final String DEFAULT_DEPLOYMENT_NAME
public static final int DEFAULT_ORDER
protected CoreContentEngineConfigurationApi contentEngineConfiguration
protected Function<String,LockManager> lockManagerProvider
protected String deploymentName
protected int order
public DefaultDocumentDefinitionAutoDeployer(Collection<Resource> deploymentResources, CoreContentEngineConfigurationApi contentEngineConfiguration, Function<String,LockManager> lockManagerProvider, Set<String> autoDeployTenants, CommonAutoDeploymentProperties deploymentProperties)
public DefaultDocumentDefinitionAutoDeployer(Collection<Resource> deploymentResources, CoreContentEngineConfigurationApi contentEngineConfiguration, Function<String,LockManager> lockManagerProvider, String deploymentName, Set<String> autoDeployTenants, CommonAutoDeploymentProperties deploymentProperties)
public void setOrder(int order)
protected void deployResourcesInternal(Collection<Resource> resources)
CommonAutoDeployer
deployResourcesInternal
in class CommonAutoDeployer
resources
- the resources to be deployedprotected LockManager getLockManager()
CommonAutoDeployer
getLockManager
in class CommonAutoDeployer
protected Collection<Resource> collectDeploymentResources(Collection<Resource> resources)
protected void deploy(Collection<Resource> resources, String tenantId)