|
org.netbeans.bootstrap/1 2.52 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.ModuleFactory
public class ModuleFactory
Allows creation of custom modules. The factories are searched in the default lookup (org.openide.util.Lookup.getDefault()). If there is one it is used - if there are more of them arbitrary one is used (so please make sure that there is only one present in the installation). If there is none in the default lookup the system will use an instance of this class.
| Constructor Summary | |
|---|---|
ModuleFactory()
|
|
| Method Summary | |
|---|---|
Module |
create(File jar,
Object history,
boolean reloadable,
boolean autoload,
boolean eager,
ModuleManager mgr,
Events ev)
This method creates a "standard" module. |
Module |
createFixed(Manifest mani,
Object history,
ClassLoader loader,
boolean autoload,
boolean eager,
ModuleManager mgr,
Events ev)
This method creates a "fixed" module. |
ClassLoader |
getClasspathDelegateClassLoader(ModuleManager mgr,
ClassLoader del)
Allows specifying different parent classloader of all modules classloaders. |
boolean |
removeBaseClassLoader()
If this method returns true the parent the original classpath classloader will be removed from the parent classloaders of a module classloader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleFactory()
| Method Detail |
|---|
public Module create(File jar,
Object history,
boolean reloadable,
boolean autoload,
boolean eager,
ModuleManager mgr,
Events ev)
throws IOException
IOExceptionStandardModule
public Module createFixed(Manifest mani,
Object history,
ClassLoader loader,
boolean autoload,
boolean eager,
ModuleManager mgr,
Events ev)
throws InvalidException
InvalidExceptionFixedModule
public ClassLoader getClasspathDelegateClassLoader(ModuleManager mgr,
ClassLoader del)
public boolean removeBaseClassLoader()
|
org.netbeans.bootstrap/1 2.52 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||