Registry / utility / org-openide-util

org-openide-util

JSON →
libraryRELEASE300javamavenunverified

Apache NetBeans OpenIDE Utilities provides core utility classes for the NetBeans platform, including lookup, actions, and file system support.

<dependency> <groupId>org.netbeans.api</groupId> <artifactId>org-openide-util</artifactId> <version>RELEASE300</version> </dependency>
INSTALL
IMPORT
SIG · ORG-OPENIDE-UTIL
O
org-openide-util
utilityjavavRELEASE300
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Lookup
org.openide.util.Lookup

Demonstrates using the NetBeans Lookup mechanism to find services.

import org.openide.util.Lookup; import org.openide.util.lookup.AbstractLookup; import org.openide.util.lookup.InstanceContent; public class Example { public static void main(String[] args) { InstanceContent content = new InstanceContent(); Lookup lookup = new AbstractLookup(content); content.add("Hello"); String result = lookup.lookup(String.class); System.out.println(result); } }
Debug
Known issues
gotchaThis API is part of the NetBeans platform and is not intended for standalone use outside of NetBeans modules.
fix
Use only within NetBeans module development; for general DI, consider Jakarta Inject or Spring.
affects: *
Upgrade
Version history
RELEASE300latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
org-openide-util — mvn dependency:get org-openide-util · libregistry