|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The initial context established by an initial repository factory.
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. |
static String |
LINE
|
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. |
Manifest |
install(URL url)
Install a block archive into the repository. |
Builder |
newBuilder(Artifact artifact)
Create a factory builder using a supplied artifact. |
Builder |
newBuilder(ClassLoader classloader,
Artifact artifact)
Create a factory builder using a supplied artifact. |
Field Detail |
public static final String CACHE_KEY
public static final String HOSTS_KEY
public static final String LINE
Method Detail |
public File getInitialWorkingDirectory()
public File getInitialCacheDirectory()
public String[] getInitialHosts()
public Factory getInitialFactory()
public Builder newBuilder(Artifact artifact) throws Exception
artifact
- the factory artifact
Exception
- if a builder creation error occurspublic Builder newBuilder(ClassLoader classloader, Artifact artifact) throws Exception
classloader
- the parent classloaderartifact
- the factory artifact
Exception
- if a factory creation error occurspublic Manifest install(URL url) throws RepositoryException
url
- the block archive url
RepositoryException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |