Constructor and Description |
---|
DefaultDeployer() |
public DefaultDeployer()
public void initService(ServiceLocator locator)
Service
initService
in interface Service
locator
- The service locator, must not be null
.public DefaultDeployer setFileProcessor(FileProcessor fileProcessor)
public DefaultDeployer setRepositoryEventDispatcher(RepositoryEventDispatcher repositoryEventDispatcher)
public DefaultDeployer setRepositoryConnectorProvider(RepositoryConnectorProvider repositoryConnectorProvider)
public DefaultDeployer setRemoteRepositoryManager(RemoteRepositoryManager remoteRepositoryManager)
public DefaultDeployer setUpdateCheckManager(UpdateCheckManager updateCheckManager)
public DefaultDeployer addMetadataGeneratorFactory(MetadataGeneratorFactory factory)
public DefaultDeployer setMetadataGeneratorFactories(Collection<MetadataGeneratorFactory> metadataFactories)
public DefaultDeployer setSyncContextFactory(SyncContextFactory syncContextFactory)
public DefaultDeployer setOfflineController(OfflineController offlineController)
public DeployResult deploy(RepositorySystemSession session, DeployRequest request) throws DeploymentException
Deployer
deploy
in interface Deployer
session
- The repository session, must not be null
.request
- The deployment request, must not be null
.null
.DeploymentException
- If any artifact/metadata from the request could not be deployed.RepositorySystem.deploy(RepositorySystemSession, DeployRequest)
,
MetadataGeneratorFactory.newInstance(RepositorySystemSession, DeployRequest)
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.