public final class

ClassRealmUtils

extends Object
java.lang.Object
   ↳ org.eclipse.sisu.plexus.ClassRealmUtils

Class Overview

Utility methods for dealing with Plexus ClassRealms.

Summary

Public Methods
static ClassRealm contextRealm()
static Set<String> visibleRealmNames(ClassRealm contextRealm)
Walks the ClassRealm import graph to find all realms visible from the given realm.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public static ClassRealm contextRealm ()

Returns
  • Current context realm

public static Set<String> visibleRealmNames (ClassRealm contextRealm)

Walks the ClassRealm import graph to find all realms visible from the given realm.

Parameters
contextRealm The initial realm
Returns
  • Names of all realms visible from the given realm