- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 359 for Clauss (0.15 sec)
-
maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession()); sessionScope.enter(); sessionScope.seed(Session.class, this.session); assertNotNull(bean.myBean.getSession()); assertNotNull(bean.myBean.getAnotherBean()); assertSame(bean.myBean.getAnotherBean().getClass(), AnotherBean.class);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Apr 23 12:52:20 GMT 2024 - 4.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java
protected void configure() { bindScope(SessionScoped.class, scope); // bindScope(org.apache.maven.api.di.SessionScoped.class, scope); bind(SessionScope.class).toInstance(scope); bind(MavenSession.class) .toProvider(SessionScope.seededKeyProvider(MavenSession.class)) .in(scope); bind(Session.class) .toProvider(SessionScope.seededKeyProvider(Session.class))
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 2.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
.distinct() .forEach(key -> { Class<?> clazz = key.getRawType(); Class<Object> itf = (clazz.isInterface() ? null : (Class<Object>) (clazz.getInterfaces().length > 0 ? clazz.getInterfaces()[0] : clazz)); if (itf != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java
return new ProjectModelResolver( repoSession, null, getContainer().lookup(RepositorySystem.class), getContainer().lookup(RemoteRepositoryManager.class), this.getRemoteRepositories(), ProjectBuildingRequest.RepositoryMerging.REQUEST_DOMINANT, null, null); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Apr 03 17:49:40 GMT 2024 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java
/** * Create a key using the given class as an identifier and as the type of the object. */ static <T> Key<T> key(Class<T> clazz) { return new Key<>(clazz, clazz); } /** * Create a key using the given class and id. */ static <T> Key<T> key(Class<T> clazz, Object id) { return new Key<>(clazz, id); } /**
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 23:31:09 GMT 2024 - 4.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java
import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.when; class ConsumerPomArtifactTransformerTest { @Test void transform() throws Exception { RepositorySystemSession systemSessionMock = Mockito.mock(RepositorySystemSession.class); SessionData sessionDataMock = Mockito.mock(SessionData.class); when(systemSessionMock.getData()).thenReturn(sessionDataMock);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Dec 05 09:23:26 GMT 2023 - 4.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/ExtensibleEnumRegistries.java
import org.apache.maven.SessionScoped; import org.apache.maven.api.*; import org.apache.maven.api.services.*; import org.apache.maven.api.spi.*; public class ExtensibleEnumRegistries { @Named @SessionScoped public static class DefaultPathScopeRegistry extends DefaultExtensibleEnumRegistry<PathScope, PathScopeProvider> implements PathScopeRegistry { @Inject
Java - Registered: Sun Apr 07 03:35:11 GMT 2024 - Last Modified: Mon Feb 05 09:42:51 GMT 2024 - 3.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java
static InternalSession from(Session session) { return cast(InternalSession.class, session, "session should be an " + InternalSession.class); } static InternalSession from(org.eclipse.aether.RepositorySystemSession session) { return cast(InternalSession.class, session.getData().get(InternalSession.class), "session"); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Apr 23 12:55:57 GMT 2024 - 3.4K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/deployer/ArtifactDeployerTest.java
} @Test void testArtifactInstallation() throws Exception { sessionScope.enter(); try { sessionScope.seed(MavenSession.class, mock(MavenSession.class)); String artifactBasedir = new File(getBasedir(), "src/test/resources/artifact-install").getAbsolutePath(); Artifact artifact = createArtifact("artifact", "1.0");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/lifecycle/MavenExecutionPlan.java
// from the plugin archive. // TODO this will be the class that people get in IDEs to modify /** * MavenExecutionPlan */ public class MavenExecutionPlan implements Iterable<ExecutionPlanItem> { /* At the moment, this class is totally immutable, and this is in line with thoughts about the
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Jan 10 12:55:54 GMT 2024 - 6.2K bytes - Viewed (0)