public class DefaultForeignSourceRepositoryFactory extends Object implements ForeignSourceRepositoryFactory, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_IMPLEMENTATION
The Constant DEFAULT_IMPLEMENTATION.
|
static String |
REPOSITORY_IMPLEMENTATION
The Constant REPOSITORY_IMPLEMENTATION.
|
Constructor and Description |
---|
DefaultForeignSourceRepositoryFactory() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
ForeignSourceRepository |
getDeployedRepository()
Gets the deployed repository.
|
ForeignSourceRepository |
getPendingRepository()
Gets the pending repository.
|
FactoryStrategy |
getRepositoryStrategy()
Gets the repository strategy.
|
void |
setRepositoryStrategy(FactoryStrategy strategy)
Sets the repository strategy.
|
public static final String REPOSITORY_IMPLEMENTATION
public static final String DEFAULT_IMPLEMENTATION
public DefaultForeignSourceRepositoryFactory()
public ForeignSourceRepository getPendingRepository()
ForeignSourceRepositoryFactory
getPendingRepository
in interface ForeignSourceRepositoryFactory
public ForeignSourceRepository getDeployedRepository()
ForeignSourceRepositoryFactory
getDeployedRepository
in interface ForeignSourceRepositoryFactory
public FactoryStrategy getRepositoryStrategy()
ForeignSourceRepositoryFactory
getRepositoryStrategy
in interface ForeignSourceRepositoryFactory
public void setRepositoryStrategy(FactoryStrategy strategy)
ForeignSourceRepositoryFactory
setRepositoryStrategy
in interface ForeignSourceRepositoryFactory
strategy
- the new repository strategyCopyright © 2017. All rights reserved.