|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DomainClassLoader
A classloader that can be put in a domain
Method Summary | |
---|---|
ClassLoadingDomain |
getDomain()
The domain of the classloader |
Package |
getPackage(String name)
Get a package defined by the classloader |
Set |
getPackageNames()
Get the packages defined by the classloader |
Class |
loadClassLocally(String name,
boolean resolve)
Load a class |
URL |
loadResourceLocally(String name)
Get a resource |
void |
setDomain(ClassLoadingDomain domain)
Set the domain of the classloader |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Method Detail |
---|
ClassLoadingDomain getDomain()
void setDomain(ClassLoadingDomain domain)
Class loadClassLocally(String name, boolean resolve) throws ClassNotFoundException
name
- the class nameresolve
- whether to resolve the class
ClassNotFoundException
- when there is not classURL loadResourceLocally(String name)
name
- the resource name
Set getPackageNames()
Package getPackage(String name)
name
- the name of the package
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |