This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
<changes>
<change>
<summary>Added <code>DataLoaderPool.getDefault()</code></summary>
<version major="5" minor="1"/>
<date day="3" month="2" year="2005"/>
<author login="jtulach"/>
<compatibility addition="yes" binary="compatible" semantic="compatible" />
<description>
<p>
<code>DataLoaderPool</code> now has a new method <code>getDefault()</code>
to allow simple access to the default system loader pool.
</p>
</description>
<class package="org.openide.loaders" name="DataLoaderPool" />
<issue number="41650"/>
</change>
<api name="loaders"/>
<summary>Actions for <code>DataLoader</code> can be specified in a layer</summary>
<version major="5" minor="0"/>
private static MultiFileLoader[] defaultLoaders;
private static DataLoaderPool DEFAULT;
static synchronized DataLoaderPool getDefault() {
/** Getter for the default pool of loaders used in the system.
* By default it looks it up using Lookup, if not found it provides
* default one that does lookup individual loaders using Lookup.
*
* @return instance of system DataLoaderPool
* @since 5.1
*/
public static synchronized DataLoaderPool getDefault() {
if (DEFAULT == null) {
DEFAULT = (DataLoaderPool)Lookup.getDefault().lookup(DataLoaderPool.class);