public class ProductionRepositoryDataSource extends Object implements DataSource
| Constructor and Description |
|---|
ProductionRepositoryDataSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
For Spring framework
|
Deployment |
getDeployment(String deploymentName,
CommonVersion deploymentVersion)
Gets a deployment from data source.
|
Collection<Deployment> |
getDeployments()
Returns a list of all deployments in data source.
|
void |
setDeployPath(String deployPath) |
void |
setIncludeVersionInDeploymentName(boolean includeVersionInDeploymentName) |
void |
setListener(DataSourceListener dataSourceListener)
Adds a lister to data source.
|
void |
setRepository(Repository repository) |
public Collection<Deployment> getDeployments()
getDeployments in interface DataSourcepublic Deployment getDeployment(String deploymentName, CommonVersion deploymentVersion)
getDeployment in interface DataSourcepublic void setListener(DataSourceListener dataSourceListener)
setListener in interface DataSource@PreDestroy public void destroy() throws Exception
Exceptionpublic void setRepository(Repository repository)
public void setIncludeVersionInDeploymentName(boolean includeVersionInDeploymentName)
public void setDeployPath(String deployPath)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.