mcconnell 2003/11/19 20:20:38
Modified: repository/spi/src/java/org/apache/avalon/repository
RepositoryContext.java
Log:
Removed setter operations on RepositoryContext and refactored content to use common
unils package.
Revision Changes Path
1.2 +3 -24
avalon-sandbox/repository/spi/src/java/org/apache/avalon/repository/RepositoryContext.java
Index: RepositoryContext.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/repository/spi/src/java/org/apache/avalon/repository/RepositoryContext.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- RepositoryContext.java 17 Nov 2003 08:19:51 -0000 1.1
+++ RepositoryContext.java 20 Nov 2003 04:20:38 -0000 1.2
@@ -70,14 +70,7 @@
* @return the proxy context used by the Kernel
*/
ProxyContext getProxyContext() ;
-
- /**
- * Sets the ProxyContext for this KernelConfig.
- *
- * @param a_proxyCtx sets the proxy context
- */
- void setProxyContext( ProxyContext a_proxyCtx ) ;
-
+
/**
* Gets the set of remote repositories used to download artifacts.
*
@@ -93,14 +86,6 @@
void setRemoteRepositoryUrls( URL[] a_remoteRepositories ) ;
/**
- * Sets the remote repository urls for downloading artifacts.
- *
- * @param a_urls the remote Repositories to use.
- */
- void setRemoteRepositoryUrls( String[] a_urls )
- throws MalformedURLException ;
-
- /**
* Gets the directory where repository artifacts are stored after being
* downloaded from the Repository.
*
@@ -108,10 +93,4 @@
*/
String getCacheDir() ;
- /**
- * Sets the directory where we store downloaded artifacts.
- *
- * @param a_cacheDir the place to cache repository artifacts
- */
- void setCacheDir( String a_cacheDir ) ;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]