org.netbeans.core.startup

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Netbeans » core » org.netbeans.core.startup 
org.netbeans.core.startup
org.netbeans.core.modules package The IDE's module system is broken into several layers.

First there is the Open API: {@link org.openide.modules}. Relevant classes are {@link org.openide.modules.ModuleInfo}, giving general information about modules (version, name, etc.) and available through lookup; and {@link org.openide.modules.ModuleInstall}, permitting a module to customize its installation within limits.

In this package the remainder of the system is implemented, but this is still broken into pieces to make it easier to work with.

First {@link org.netbeans.core.modules.Module} is the concrete version of ModuleInfo, with additional information such as the full manifest contents, the live classloader in use, and some details of where it came from and its behavioral parameters.

{@link org.netbeans.core.modules.ModuleManager} is the class responsible for keeping track of the set of modules and their interdependencies, and ultimately controls which modules can or cannot be installed and why.

{@link org.netbeans.core.modules.ModuleInstaller} is the interface used by the manager to physically load the contents of the module into the IDE.

{@link org.netbeans.core.modules.Events} permits major events to be logged asynchronously for subsequent formatting and display.

Private helper classes include ChangeFirer to fire module manager changes, and Util for module-related utility functions. MultiURLClassLoader is an optimized classloader used for modules that is able to handle multiple parents, dynamic parent addition and removal, and streamlining of the package search algorithm based on features of the Modules API. Also the exceptions {@link org.netbeans.core.modules.DuplicateException} and {@link org.netbeans.core.modules.InvalidException} are thrown when creating or working with modules.

This layer is largely independent of the workings of the IDE; it uses some Open APIs but only those which can be used in a standalone context. So it makes sense to test these classes in isolation from the others, and without starting the IDE. It is not permitted to use UI and employs no localized messages. (Exception messages need not be localized; problems likely to be encountered by end users who are not module developers should be handled elsewhere are localized.)

The other layer is more dependent on the rest of the IDE core, and the details of the Modules API.

{@link org.netbeans.core.modules.NbInstaller NbInstaller} really implements the loading of modules: registering layers, registering the existence of help sets, loading the beans forming manifest sections and making them available, and running ModuleInstall methods.

{@link org.netbeans.core.modules.ManifestSection} is used by NbInstaller to represent one section in a module manifest during installation, and may be used in other parts of the core (e.g. if sections are registered via lookup for interpretation elsewhere).

{@link org.netbeans.core.modules.ModuleList} keeps track of the set of installed modules on disk, and is the point of contact for reading and writing the list of installed modules, any serialized ModuleInstall instances, and autoscanning the modules folder.

{@link org.netbeans.core.modules.ModuleHistory} tracks the origin of a module, whether it was installed before and where, and what version it last was. This information is supplied by ModuleList based on its knowledge of the settings on disk, and used by NbInstaller to invoke the correct ModuleInstall methods.

{@link org.netbeans.core.modules.NbEvents NbEvents} performs NetBeans-specific logging of module system events, such as displaying friendly messages in the splash screen, status bar, or console. It can also be a point of contact for performance measurements.

{@link org.netbeans.core.modules.ModuleSystem} is a high-level controller for the whole module system. Core initialization classes needing to start some process in the module system, such as "install newly found modules", should use a method call on this class, which will delegate the details to other module-system objects.

{@link org.netbeans.core.modules.TestModuleDeployer} is a service available via lookup which deploys test modules; accessible separately with a thin API for use by modules such as the API Support.

{@link AutomaticDependencies} is used to parse XML files constrained by module-auto-deps-1_0.dtd and automatically update dependencies used by old modules as a result. This is very useful for maintaining backward compatibility across major refactorings.

Also of interest: {@link org.netbeans.core.ui.ModuleBean} provides a Swing-safe UI wrapper for Module and ModuleManager, used by the Modules node.

Those interested in using the independent parts of the module system as a standalone JAR should run:

ant -f core/build.xml lib-modules
Java Source File NameTypeComment
AutomaticDependencies.javaClass Parser and interpreter for automatic module dependencies.
AutomaticDependenciesTest.javaClass Test AutomaticDependencies (end-to-end).
CLICoreBridge.javaClass Handler for core.jar options.
CLILookupExecTest.javaClass Make sure the CLIHandler can be in modules and really work.
CLILookupHelpTest.javaClass Make sure the CLIHandler can be in modules and really work.
CLIOptions.javaClass Handler for core options.
CLIOptionsTest.javaClass
CLITestModuleReload.javaClass Handles the --reload command-line option.
ConsistencyVerifier.javaClass Utility class permitting you to verify that a set of modules could be enabled together.
ConsistencyVerifierTest.javaClass
CoreBridge.javaClass Interface to environment that the Module system needs around itself.
CountingSecurityManager.javaClass
DOMFactoryImpl.javaClass A special DocumentBuilderFactory that delegates to other factories till it finds one that can satisfy configured requirements.
InstalledFileLocatorImpl.javaClass Ability to locate NBM-installed files.
InstalledFileLocatorImplDirTest.javaClass Test functionality of InstalledFileLocatorImpl.
InstalledFileLocatorImplTest.javaClass Test functionality of InstalledFileLocatorImpl.
IsDirCntSecurityManager.javaClass Counts the number of File.isDirectory() calls.
LazyIterator.javaClass
Main.javaClass Main class for NetBeans when run in GUI mode.
MainLookup.javaClass The default lookup for the system.
ManifestSection.javaClass Class representing one specially-treated section in a module's manifest file.
MockServicesTest.javaClass
ModuleFactoryTest.javaClass These tests verify that the module manager behaves basically the same way with ModuleFactory as without it.
ModuleFormatSatisfiedTest.javaClass Checks whether a modules are provided with ModuleFormat1 token.
ModuleHistory.javaClass Representation of the history of the module.
ModuleList.javaClass Class responsible for maintaining the list of modules in the IDE persistently. This class understands the "module status" XML format, and the list of modules present in the Modules/ folder.
ModuleListTest.javaClass Test the functions of the module list, i.e.
ModuleManagerTest.javaClass Test the module manager as well as the Module class. This means creating modules from JAR as well as from "classpath" (i.e.
ModuleMixedOnClasspathTest.javaClass These tests verify that the module manager behaves basically the same way with ModuleFactory as without it.
ModuleSystem.javaClass Controller of the IDE's whole module system.
NbEvents.javaClass Report events to the performance logger, status text/splash screen, console, and so on.
NbInstaller.javaClass Concrete implementation of the module installation functionality. This class can pay attention to the details of manifest format, details of how to install particular sections and layers and so on. It may have a limited UI, i.e.
NbInstallerHideClasspathPackagesTest.javaClass Checks that OpenIDE-Module-Hide-Classpath-Packages works.
NbInstallerTest2.javaClass Test the NetBeans module installer implementation.
NbInstallerTest3.javaClass Test the NetBeans module installer implementation.
NbInstallerTest4.javaClass Test the NetBeans module installer implementation.
NbInstallerTest5.javaClass Test the NetBeans module installer implementation.
NbInstallerTest8.javaClass Test the NetBeans module installer implementation.
NbInstallerTest9.javaClass Test the NetBeans module installer implementation.
NbProblemDisplayer.javaClass Utility class to provide localized messages explaining problems that modules had during attempted installation.
NbProblemDisplayerTest.javaClass
NbRepository.javaClass Default repository.
NbRepositoryTest.javaClass
NbURLStreamHandlerFactory.javaClass Proxying stream handler factory.
NbURLStreamHandlerFactoryDeadlockTest.javaClass Test functionality of internal URLs.
NbURLStreamHandlerFactoryTest.javaClass Test functionality of internal URLs.
NbURLStreamHandlerFactoryWhenSetTest.javaClass Making sure our framework can replace already registered factories.
NonGuiHandleCheckOfLicenseTest.javaClass Tests the behavior of the license check "api".
NonGuiHandleImportOfUserDirTest.javaClass Tests the behaviour of the import user dir "api".
PlatformDependencySatisfiedTest.javaClass
RunLevel.javaInterface Instances of this class are looked up in lookup and called one by one to initialize the rest of the system.
SAXFactoryImpl.javaClass A special SAXParserFactory that delegates to other factories till it finds one that can satisfy configured requirements.
SetupHid.javaClass Some infrastructure for module system tests.
Splash.javaClass A class that encapsulates all the splash screen things.
StartLog.javaClass Logger that will enable the logging of important events during the startup annotated with real time and possibly time differences.
TestModuleDeployer.javaClass Interface for deploying test modules.
TopLogging.javaClass Class that sets the java.util.logging.LogManager configuration to log into the right file and put there the right content.
TopLoggingLookupTest.javaClass Checks the top logging delegates to handlers in lookup.
TopLoggingNbLoggerConsoleTest.javaClass Checks that it is possible to log to console.
TopLoggingOwnConfigClassTest.javaClass Checks the behaviour of NetBeans logging support.
TopLoggingOwnConfigTest.javaClass Checks the behaviour of NetBeans logging support.
TopLoggingTest.javaClass Checks the behaviour of NetBeans logging support.
TopThreadGroup.javaClass The ThreadGroup for catching uncaught exceptions in Corona.
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.