Java Doc for LoaderPoolNode.java in  » IDE-Netbeans » library » org » netbeans » core » Java Source Code / Java DocumentationJava Source Code and Java Documentation

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 » library » org.netbeans.core 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.core.LoaderPoolNode

LoaderPoolNode
final public class LoaderPoolNode extends AbstractNode (Code)
Node which represents loader pool and its content - all loaders in the system. LoaderPoolNode also supports subnode reordering.

LoaderPoolNode is singleton and that's why it can be obtained only via call to static factory method getLoaderPoolNode().

The same situation applies for NbLoaderPool inner class.
author:
   Dafe Simonek et al.


Inner Class :final public static class NbLoaderPool extends DataLoaderPool implements PropertyChangeListener,Runnable,LookupListener



Method Summary
public static  voidadd(ManifestSection.LoaderSection s)
     Adds new loader when previous and following are specified.
public static synchronized  voidbeginUpdates()
    
static synchronized  voiddoAdd(DataLoader l, ManifestSection.LoaderSection s)
     Really adds the loader.
public static synchronized  voidendUpdates()
    
public  Action[]getActions(boolean context)
     Getter for set of actions that should be present in the popup menu of this node.
public  HelpCtxgetHelpCtx()
    
public static synchronized  LoaderPoolNodegetLoaderPoolNode()
     Returns the only instance of the loader pool node in our system.
public static  FileObjectgetLoaderPoolStorage(boolean create)
    
public static synchronized  NbLoaderPoolgetNbLoaderPool()
     Returns the only instance of the loader pool in our system.
static  voidinstallationFinished()
     Notification to finish installation of nodes during startup.
static synchronized  booleanisModified(DataLoader l)
     Checks whether a loader is modified.
public static  voidload()
    
public static synchronized  booleanremove(DataLoader dl)
     Removes the loader.
public static  voidstore()
    
public static  voidwaitFinished()
     Allows tests to wait while processing of events is finished.



Method Detail
add
public static void add(ManifestSection.LoaderSection s) throws Exception(Code)
Adds new loader when previous and following are specified. An attempt will be made to (re-)order the loader pool according to specified dependencies.

If a loader of the same class already existed in the pool, that will be removed and replaced with the new one.
Parameters:
  s - adds loader section




beginUpdates
public static synchronized void beginUpdates()(Code)



doAdd
static synchronized void doAdd(DataLoader l, ManifestSection.LoaderSection s) throws Exception(Code)
Really adds the loader.



endUpdates
public static synchronized void endUpdates()(Code)



getActions
public Action[] getActions(boolean context)(Code)
Getter for set of actions that should be present in the popup menu of this node. array of system actions that should be in popup menu



getHelpCtx
public HelpCtx getHelpCtx()(Code)



getLoaderPoolNode
public static synchronized LoaderPoolNode getLoaderPoolNode()(Code)
Returns the only instance of the loader pool node in our system. There's no other way to get an instance of this class, loader pool node is singleton. loader pool node instance



getLoaderPoolStorage
public static FileObject getLoaderPoolStorage(boolean create) throws IOException(Code)



getNbLoaderPool
public static synchronized NbLoaderPool getNbLoaderPool()(Code)
Returns the only instance of the loader pool in our system. There's no other way to get an instance of this class, loader pool is singleton too. loader pool instance



installationFinished
static void installationFinished()(Code)
Notification to finish installation of nodes during startup.



isModified
static synchronized boolean isModified(DataLoader l)(Code)
Checks whether a loader is modified. E.g. whether the loader considers it to be modified and necessary to be saved.



load
public static void load() throws IOException(Code)



remove
public static synchronized boolean remove(DataLoader dl)(Code)
Removes the loader. It is only removed from the list but if an DataObject instance created exists it will be still valid.

So the only difference is that when a DataObject is searched for a FileObject this loader will not be taken into account.

The loader pool may be resorted.
Parameters:
  dl - data loader to remove true if the loader was registered and false if not




store
public static void store() throws IOException(Code)



waitFinished
public static void waitFinished()(Code)
Allows tests to wait while processing of events is finished.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.