| Package | Description |
|---|---|
| org.codehaus.plexus | |
| org.codehaus.plexus.component.repository |
| Modifier and Type | Method and Description |
|---|---|
<T> ComponentDescriptor<T> |
PlexusContainer.getComponentDescriptor(Class<T> type,
String role,
String roleHint)
Returns the ComponentDescriptor with the given component role and hint.
|
ComponentDescriptor<?> |
PlexusContainer.getComponentDescriptor(String role)
Returns the ComponentDescriptor with the given component role and the default role hint.
|
ComponentDescriptor<?> |
PlexusContainer.getComponentDescriptor(String role,
String roleHint)
Returns the ComponentDescriptor with the given component role and hint.
|
| 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) |
<T> List<ComponentDescriptor<T>> |
PlexusContainer.getComponentDescriptorList(Class<T> type,
String role)
Returns a List of ComponentDescriptors with the given role.
|
List<ComponentDescriptor<?>> |
PlexusContainer.getComponentDescriptorList(String role)
Returns a List of ComponentDescriptors with the given role.
|
<T> Map<String,ComponentDescriptor<T>> |
PlexusContainer.getComponentDescriptorMap(Class<T> type,
String role)
Returns a Map of ComponentDescriptors with the given role, keyed by role-hint.
|
Map<String,ComponentDescriptor<?>> |
PlexusContainer.getComponentDescriptorMap(String role)
Returns a Map of ComponentDescriptors with the given role, keyed by role-hint.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PlexusContainer.addComponentDescriptor(ComponentDescriptor<?> componentDescriptor)
Adds a component descriptor to this container.
|
<T> T |
PlexusContainer.lookup(ComponentDescriptor<T> componentDescriptor)
Looks up and returns a component object matching the given component descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
List<ComponentDescriptor<?>> |
ComponentSetDescriptor.getComponents()
Returns a list of components in this set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentSetDescriptor.addComponentDescriptor(ComponentDescriptor<?> cd)
Add a new ComponentDescriptor to this set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComponentSetDescriptor.setComponents(List<ComponentDescriptor<?>> components)
Sets a List of components as this set's contents.
|
Copyright © 2022 Unidal Organization. All rights reserved.