|
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.openide.modules.ModuleInfo
org.netbeans.Module
org.netbeans.JaveleonModule
public final class JaveleonModule
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.netbeans.Module |
|---|
Module.PackageExport |
| Field Summary | |
|---|---|
static boolean |
isJaveleonPresent
|
| Fields inherited from class org.netbeans.Module |
|---|
classloader, events, mgr, PROP_CLASS_LOADER, PROP_MANIFEST, PROP_PROBLEMS, PROP_RELOADABLE, PROP_VALID, reloadable |
| Fields inherited from class org.openide.modules.ModuleInfo |
|---|
PROP_ENABLED |
| Constructor Summary | |
|---|---|
JaveleonModule(ModuleManager mgr,
File jar,
Object history,
Events ev)
|
|
| Method Summary | |
|---|---|
protected void |
classLoaderDown()
Turn off the classloader and release all resources. |
void |
classLoaderUp(Set<Module> parents)
public for use from JaveleonModuleReloader |
protected void |
cleanup()
Should be called after turning off the classloader of one or more modules & GC'ing. |
protected ClassLoader |
createNewClassLoader(List<File> classp,
List<ClassLoader> parents)
Setup a new module with the given class path and the set of parent class loaders. |
void |
destroy()
Notify the module that it is being deleted. |
List<File> |
getAllJars()
Get all JARs loaded by this module. |
File |
getJarFile()
Get the JAR this module is packaged in. |
Object |
getLocalizedAttribute(String attr)
Get a localized attribute. |
Manifest |
getManifest()
Get the JAR manifest. |
protected ClassLoader |
getParentLoader(Module parent)
Get the class loader of a particular parent module. |
static boolean |
incrementGlobalId()
|
boolean |
isFixed()
Fixed modules are treated differently. |
void |
releaseManifest()
Release memory storage for the JAR manifest, if applicable. |
void |
reload()
Reload this module. |
void |
setReloadable(boolean r)
Set whether this module is supposed to be reloadable. |
String |
toString()
String representation for debugging. |
| Methods inherited from class org.netbeans.Module |
|---|
findResources, getAttribute, getBuildVersion, getClassLoader, getCodeName, getCodeNameBase, getCodeNameRelease, getDependencies, getDependenciesArray, getHistory, getImplementationVersion, getManager, getProblems, getProvides, getPublicPackages, getSpecificationVersion, getStartLevel, isAutoload, isEager, isEnabled, isNetigso, isReloadable, isValid, owns, parseManifest, provides |
| Methods inherited from class org.openide.modules.ModuleInfo |
|---|
addPropertyChangeListener, firePropertyChange, getDisplayName, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final boolean isJaveleonPresent
| Constructor Detail |
|---|
public JaveleonModule(ModuleManager mgr,
File jar,
Object history,
Events ev)
throws IOException
IOException| Method Detail |
|---|
public static boolean incrementGlobalId()
protected ClassLoader createNewClassLoader(List<File> classp,
List<ClassLoader> parents)
public void classLoaderUp(Set<Module> parents)
throws IOException
IOExceptionprotected ClassLoader getParentLoader(Module parent)
public String toString()
protected void classLoaderDown()
public final void reload()
throws IOException
IOExceptionprotected void cleanup()
public void destroy()
public Manifest getManifest()
Module
getManifest in class Modulepublic void releaseManifest()
Module
releaseManifest in class Modulepublic Object getLocalizedAttribute(String attr)
getLocalizedAttribute in class ModuleInfopublic boolean isFixed()
Module
isFixed in class ModuleFixedModulepublic File getJarFile()
getJarFile in class ModuleisFixed()public List<File> getAllJars()
getAllJars in class ModuleList<File> of JARspublic void setReloadable(boolean r)
setReloadable in class Moduler - whether the module should be considered reloadable
|
org.netbeans.bootstrap/1 2.52 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||