|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.archiva.proxy.DefaultRepositoryProxyConnectors
@Service(value="repositoryProxyConnectors#default") public class DefaultRepositoryProxyConnectors
DefaultRepositoryProxyConnectors
| Constructor Summary | |
|---|---|
DefaultRepositoryProxyConnectors()
|
|
| Method Summary | |
|---|---|
void |
afterConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry,
String propertyName,
Object propertyValue)
|
void |
beforeConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry,
String propertyName,
Object propertyValue)
|
File |
fetchFromProxies(org.apache.archiva.repository.ManagedRepositoryContent repository,
org.apache.archiva.model.ArtifactReference artifact)
Performs the artifact fetch operation against the target repositories of the provided source repository. |
File |
fetchFromProxies(org.apache.archiva.repository.ManagedRepositoryContent repository,
String path)
Performs the fetch operation against the target repositories of the provided source repository. |
File |
fetchMetatadaFromProxies(org.apache.archiva.repository.ManagedRepositoryContent repository,
String logicalPath)
Performs the metadata fetch operation against the target repositories of the provided source repository. |
org.apache.archiva.configuration.ArchivaConfiguration |
getArchivaConfiguration()
|
Map<String,org.apache.archiva.policies.DownloadErrorPolicy> |
getDownloadErrorPolicies()
|
org.apache.archiva.repository.metadata.MetadataTools |
getMetadataTools()
|
Map<String,org.apache.archiva.policies.PostDownloadPolicy> |
getPostDownloadPolicies()
|
Map<String,org.apache.archiva.policies.PreDownloadPolicy> |
getPreDownloadPolicies()
|
List<ProxyConnector> |
getProxyConnectors(org.apache.archiva.repository.ManagedRepositoryContent repository)
TODO: Ensure that list is correctly ordered based on configuration. |
org.apache.archiva.repository.RepositoryContentFactory |
getRepositoryFactory()
|
org.apache.archiva.policies.urlcache.UrlFailureCache |
getUrlFailureCache()
|
org.apache.archiva.proxy.common.WagonFactory |
getWagonFactory()
|
boolean |
hasProxies(org.apache.archiva.repository.ManagedRepositoryContent repository)
Test if the provided ManagedRepositoryContent has any proxies configured for it. |
void |
initialize()
|
void |
setArchivaConfiguration(org.apache.archiva.configuration.ArchivaConfiguration archivaConfiguration)
|
void |
setDownloadErrorPolicies(Map<String,org.apache.archiva.policies.DownloadErrorPolicy> downloadErrorPolicies)
|
void |
setMetadataTools(org.apache.archiva.repository.metadata.MetadataTools metadataTools)
|
void |
setPostDownloadPolicies(Map<String,org.apache.archiva.policies.PostDownloadPolicy> postDownloadPolicies)
|
void |
setPreDownloadPolicies(Map<String,org.apache.archiva.policies.PreDownloadPolicy> preDownloadPolicies)
|
void |
setRepositoryFactory(org.apache.archiva.repository.RepositoryContentFactory repositoryFactory)
|
void |
setUrlFailureCache(org.apache.archiva.policies.urlcache.UrlFailureCache urlFailureCache)
|
void |
setWagonFactory(org.apache.archiva.proxy.common.WagonFactory wagonFactory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultRepositoryProxyConnectors()
| Method Detail |
|---|
@PostConstruct public void initialize()
public File fetchFromProxies(org.apache.archiva.repository.ManagedRepositoryContent repository,
org.apache.archiva.model.ArtifactReference artifact)
throws org.apache.archiva.policies.ProxyDownloadException
RepositoryProxyConnectors
fetchFromProxies in interface RepositoryProxyConnectorsrepository - the source repository to use. (must be a managed repository)artifact - the artifact to fetch.
org.apache.archiva.policies.ProxyDownloadException - if there was a problem fetching the content from the target repositories.
public File fetchFromProxies(org.apache.archiva.repository.ManagedRepositoryContent repository,
String path)
RepositoryProxyConnectors
fetchFromProxies in interface RepositoryProxyConnectorspath - the path of the resource to fetch
public File fetchMetatadaFromProxies(org.apache.archiva.repository.ManagedRepositoryContent repository,
String logicalPath)
RepositoryProxyConnectors
fetchMetatadaFromProxies in interface RepositoryProxyConnectorsrepository - the source repository to use. (must be a managed repository)
public boolean hasProxies(org.apache.archiva.repository.ManagedRepositoryContent repository)
hasProxies in interface RepositoryProxyConnectorsrepository - the source repository to look for.
public List<ProxyConnector> getProxyConnectors(org.apache.archiva.repository.ManagedRepositoryContent repository)
getProxyConnectors in interface RepositoryProxyConnectorsrepository - the source repository to look for.
ProxyConnector objects.
public void afterConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry,
String propertyName,
Object propertyValue)
afterConfigurationChange in interface org.apache.archiva.redback.components.registry.RegistryListener
public void beforeConfigurationChange(org.apache.archiva.redback.components.registry.Registry registry,
String propertyName,
Object propertyValue)
beforeConfigurationChange in interface org.apache.archiva.redback.components.registry.RegistryListenerpublic org.apache.archiva.configuration.ArchivaConfiguration getArchivaConfiguration()
public void setArchivaConfiguration(org.apache.archiva.configuration.ArchivaConfiguration archivaConfiguration)
public org.apache.archiva.repository.RepositoryContentFactory getRepositoryFactory()
public void setRepositoryFactory(org.apache.archiva.repository.RepositoryContentFactory repositoryFactory)
public org.apache.archiva.repository.metadata.MetadataTools getMetadataTools()
public void setMetadataTools(org.apache.archiva.repository.metadata.MetadataTools metadataTools)
public org.apache.archiva.policies.urlcache.UrlFailureCache getUrlFailureCache()
public void setUrlFailureCache(org.apache.archiva.policies.urlcache.UrlFailureCache urlFailureCache)
public org.apache.archiva.proxy.common.WagonFactory getWagonFactory()
public void setWagonFactory(org.apache.archiva.proxy.common.WagonFactory wagonFactory)
public Map<String,org.apache.archiva.policies.PreDownloadPolicy> getPreDownloadPolicies()
public void setPreDownloadPolicies(Map<String,org.apache.archiva.policies.PreDownloadPolicy> preDownloadPolicies)
public Map<String,org.apache.archiva.policies.PostDownloadPolicy> getPostDownloadPolicies()
public void setPostDownloadPolicies(Map<String,org.apache.archiva.policies.PostDownloadPolicy> postDownloadPolicies)
public Map<String,org.apache.archiva.policies.DownloadErrorPolicy> getDownloadErrorPolicies()
public void setDownloadErrorPolicies(Map<String,org.apache.archiva.policies.DownloadErrorPolicy> downloadErrorPolicies)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||