- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 260 for lookup (0.04 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Lookup.java
public interface Lookup extends Service { /** * Performs a lookup for given typed component. * * @param type The component type. * @return The component. * @param <T> The component type. * @throws LookupException if no such component or there is some provisioning related issue. */ @Nonnull <T> T lookup(Class<T> type); /**
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Jan 10 12:55:54 UTC 2024 - 3.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java
this.customLifecycles = lifecycles; this.lookup = null; this.registry = null; } @Inject public DefaultLifecycles(LifecycleRegistry registry, Lookup lookup) { this.lookup = lookup; this.registry = registry; } /** * Get lifecycle based on phase * * @param phase
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLookup.java
} @Override public <T> T lookup(Class<T> type) { try { return container.lookup(type); } catch (ComponentLookupException e) { throw new LookupException(e); } } @Override public <T> T lookup(Class<T> type, String name) { try { return container.lookup(type, name); } catch (ComponentLookupException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
import java.util.Map; import java.util.Optional; import org.apache.maven.api.services.Lookup; import org.apache.maven.api.services.LookupException; import static java.util.Objects.requireNonNull; /** * Proto-{@link Lookup} offer ways to provide early components to invoker. */ public class ProtoLookup implements Lookup { private final Map<Class<?>, Object> components;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSessionFactory.java
private final Lookup lookup; private final RuntimeInformation runtimeInformation; @Inject @SuppressWarnings("checkstyle:ParameterNumber") public DefaultSessionFactory( RepositorySystem repositorySystem, MavenRepositorySystem mavenRepositorySystem, Lookup lookup, RuntimeInformation runtimeInformation) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java
private final Lookup lookup; private final TypeRegistry typeRegistry; @Inject public DefaultPackagingRegistry(Lookup lookup, TypeRegistry typeRegistry, List<PackagingProvider> providers) { super(providers); this.lookup = lookup; this.typeRegistry = typeRegistry; } @Override public Optional<Packaging> lookup(String id) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/PropertyContributorExtender.java
this.lookup = lookup; } @SuppressWarnings({"rawtypes", "unchecked"}) @Override public void extend(MavenExecutionRequest mavenExecutionRequest) { Map<String, PropertyContributor> effectivePropertyContributors = lookup.lookupMap(PropertyContributor.class); if (!effectivePropertyContributors.isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
@Nonnull RepositorySystem repositorySystem, @Nullable List<RemoteRepository> remoteRepositories, @Nonnull MavenRepositorySystem mavenRepositorySystem, @Nonnull Lookup lookup, @Nonnull RuntimeInformation runtimeInformation) { super( nonNull(session).getRepositorySession(), repositorySystem, remoteRepositories,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsule.java
private final PlexusContainer plexusContainer; private final Lookup lookup; public PlexusContainerCapsule(ClassLoader previousClassLoader, PlexusContainer plexusContainer) { this.previousClassLoader = requireNonNull(previousClassLoader, "previousClassLoader"); this.plexusContainer = requireNonNull(plexusContainer, "plexusContainer"); this.lookup = new DefaultLookup(plexusContainer); } @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
import java.util.Optional; import org.apache.maven.api.services.Lookup; import org.apache.maven.api.services.LookupException; public class SimpleLookup implements Lookup { private final List<Object> objects; public SimpleLookup(List<Object> objects) { this.objects = objects; } @Override public <T> T lookup(Class<T> type) { return objects.stream()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0)