org.apache.avalon.repository.provider
Interface InitialContext

All Known Implementing Classes:
DefaultInitialContext

public interface InitialContext

The initial context established by an initial repository factory.

Version:
$Revision: 1.4 $ $Date: 2003/12/09 09:19:10 $
Author:
Stephen McConnell

Field Summary
static String CACHE_KEY
          The property key used when resolving the default cache directory.
static String HOSTS_KEY
          The property key used when evaluating the default remote hosts.
 
Method Summary
 File getInitialCacheDirectory()
          Return cache root directory.
 Factory getInitialFactory()
          Return the initial repository factory.
 String[] getInitialHosts()
          Return the initial set of host names.
 File getInitialWorkingDirectory()
          Return the base working directory.
 

Field Detail

CACHE_KEY

public static final String CACHE_KEY
The property key used when resolving the default cache directory.

See Also:
Constant Field Values

HOSTS_KEY

public static final String HOSTS_KEY
The property key used when evaluating the default remote hosts. The value assigned to this property is a comma seperated list of urls.

See Also:
Constant Field Values
Method Detail

getInitialWorkingDirectory

public File getInitialWorkingDirectory()
Return the base working directory.

Returns:
the base directory

getInitialCacheDirectory

public File getInitialCacheDirectory()
Return cache root directory.

Returns:
the cache directory

getInitialHosts

public String[] getInitialHosts()
Return the initial set of host names.

Returns:
the host names sequence

getInitialFactory

public Factory getInitialFactory()
Return the initial repository factory.

Returns:
the initial repository factory


Copyright © Apache Software Foundation. All Rights Reserved.