Class Overview
Manages ClassRealm associated data for the Plexus container.
Summary
Public Constructors |
|
ClassRealmManager(MutablePlexusContainer plexusContainer, MutableBeanLocator beanLocator)
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
org.codehaus.plexus.classworlds.ClassWorldListener
abstract
void
|
realmCreated(ClassRealm arg0)
|
abstract
void
|
realmDisposed(ClassRealm arg0)
|
|
Public Constructors
public
ClassRealmManager
(MutablePlexusContainer plexusContainer, MutableBeanLocator beanLocator)
Public Methods
public
static
ClassRealm
contextRealm
()
public
boolean
isManaged
(ClassRealm realm)
Returns
true
if the realm is already managed, otherwise false
public
void
manage
(ClassRealm realm, Injector injector)
Manages the association between the given realm and its injector.
Parameters
realm
| The realm |
injector
| The injector
|
public
void
realmCreated
(ClassRealm realm)
public
void
realmDisposed
(ClassRealm 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