public class ClassWorld extends Object
ClassRealm
s, indexed by id.Constructor and Description |
---|
ClassWorld() |
ClassWorld(String realmId,
ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ClassWorldListener listener) |
void |
disposeRealm(String id) |
ClassRealm |
getClassRealm(String id) |
ClassRealm |
getRealm(String id) |
Collection<ClassRealm> |
getRealms() |
ClassRealm |
newRealm(String id) |
ClassRealm |
newRealm(String id,
ClassLoader classLoader) |
void |
removeListener(ClassWorldListener listener) |
public ClassWorld(String realmId, ClassLoader classLoader)
public ClassWorld()
public ClassRealm newRealm(String id) throws DuplicateRealmException
DuplicateRealmException
public ClassRealm newRealm(String id, ClassLoader classLoader) throws DuplicateRealmException
DuplicateRealmException
public void disposeRealm(String id) throws NoSuchRealmException
NoSuchRealmException
public ClassRealm getRealm(String id) throws NoSuchRealmException
NoSuchRealmException
public Collection<ClassRealm> getRealms()
public ClassRealm getClassRealm(String id)
public void addListener(ClassWorldListener listener)
public void removeListener(ClassWorldListener listener)
Copyright © 2002–2014 Codehaus. All rights reserved.