| Package | Description |
|---|---|
| org.codehaus.plexus | |
| org.codehaus.plexus.component.repository | |
| org.codehaus.plexus.component.repository.exception |
| Modifier and Type | Method and Description |
|---|---|
ClassRealm |
PlexusContainer.createChildRealm(String id) |
ClassRealm |
PlexusContainer.getComponentRealm(String realmId) |
ClassRealm |
PlexusContainer.getContainerRealm()
Returns the Classworld's ClassRealm of this Container, which acts as the default parent for all contained
components.
|
ClassRealm |
PlexusContainer.getLookupRealm()
Returns the lookup realm for this container, which is either
the container realm or the realm set by
MutablePlexusContainer#setLookupRealm(ClassRealm). |
ClassRealm |
PlexusContainer.getLookupRealm(Object component)
XXX ideally i'd like to place this in a plexus container specific utility class.
|
ClassRealm |
PlexusContainer.setLookupRealm(ClassRealm realm)
Sets the lookup realm to use for lookup calls that don't have a ClassRealm parameter.
|
| Modifier and Type | Method and Description |
|---|---|
List<ComponentDescriptor<?>> |
PlexusContainer.discoverComponents(ClassRealm childRealm)
Discovers components in the given realm.
|
List<ComponentDescriptor<?>> |
PlexusContainer.discoverComponents(ClassRealm realm,
Object data) |
void |
PlexusContainer.removeComponentRealm(ClassRealm componentRealm)
Dissociate the realm with the specified id from the container.
|
ClassRealm |
PlexusContainer.setLookupRealm(ClassRealm realm)
Sets the lookup realm to use for lookup calls that don't have a ClassRealm parameter.
|
| Modifier and Type | Method and Description |
|---|---|
ClassRealm |
ComponentDescriptor.getRealm()
The ClassRealm that this component lives under.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentDescriptor.setRealm(ClassRealm realm)
Set the ClassRealm that this component lives under.
|
| Constructor and Description |
|---|
ComponentDescriptor(Class<T> implementationClass,
ClassRealm realm) |
| Constructor and Description |
|---|
ComponentLookupException(String message,
String role,
String roleHint,
ClassRealm realm) |
ComponentLookupException(String message,
String role,
String roleHint,
ClassRealm realm,
Throwable cause) |
Copyright © 2022 Unidal Organization. All rights reserved.