sun.module.repository
Class RepositoryConfig

java.lang.Object
  extended by 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

Constructor Summary
RepositoryConfig()
           
 
Method Summary
static Repository getParentForSystemRepository()
           
static Repository getSystemRepository()
           
static void setSystemRepository(Repository r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryConfig

public RepositoryConfig()
Method Detail

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