sun.module.repository
Class RepositoryConfig
java.lang.Object
sun.module.repository.RepositoryConfig
public class RepositoryConfig
- extends Object
Defines the configuration of a set or repositories in a running JVM. The
configuration is created before the system repository is created. It is used
by Repository
to create repositories that are in parent-child
relationships between the bootstrap and system repositories.
- Since:
- 1.7.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryConfig
public RepositoryConfig()
getParentForSystemRepository
public static Repository getParentForSystemRepository()
- Returns:
- a Repository to be used as the parent of the system repository.
setSystemRepository
public static void setSystemRepository(Repository r)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getSystemRepository
public static Repository getSystemRepository()
- Returns:
- the system repository as created by the
ModuleLauncher