- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 101 for get_session (4.01 sec)
-
maven-core/src/test/java/org/apache/maven/plugin/internal/DefaultLegacySupportTest.java
defaultLegacySupport.setSession(m1); MyRunnable myRunnable = new MyRunnable(); Thread thread = new Thread(myRunnable); thread.start(); MavenSession m2 = new MavenSession(null, null, mavenExecutionRequest, null); defaultLegacySupport.setSession(m2); latch.countDown(); thread.join(); assertNull(myRunnable.getSession()); }
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java
} ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(pluginRealm); MavenSession oldSession = legacySupport.getSession(); scope.enter(); try { scope.seed(MavenProject.class, project); scope.seed(MojoExecution.class, mojoExecution); scope.seed(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 10.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultLegacySupport.java
} } public MavenSession getSession() { AtomicReference<MavenSession> currentSession = DefaultLegacySupport.SESSION.get(); return currentSession != null ? currentSession.get() : null; } public RepositorySystemSession getRepositorySession() { MavenSession session = getSession(); return (session != null) ? session.getRepositorySession() : null; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/LegacySupport.java
* * @param session The currently active session, may be {@code null}. */ void setSession(MavenSession session); /** * Gets the currently active session. * * @return The currently active session or {@code null} if none. */ MavenSession getSession(); /** * Gets the currently active repository session. *
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/DefaultMaven.java
session.setSession(defaultSessionFactory.newSession(session)); sessionScope.seed(MavenSession.class, session); sessionScope.seed(Session.class, session.getSession()); sessionScope.seed(InternalMavenSession.class, InternalMavenSession.from(session.getSession())); legacySupport.setSession(session);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 27.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
session.setAllProjects(session.getProjects()); session.setSession(defaultSessionFactory.newSession(session)); SessionScope sessionScope = getContainer().lookup(SessionScope.class); sessionScope.enter(); sessionScope.seed(MavenSession.class, session); sessionScope.seed(Session.class, session.getSession());
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 11.7K bytes - Viewed (1) -
src/main/java/org/codelibs/fess/app/web/login/LoginAction.java
}, validationErrorLambda); return null; }); } private OptionalThing<HttpSession> getSession() { final HttpSession session = request.getSession(false); if (session != null) { return OptionalEntity.of(session); } return OptionalEntity.empty(); }
Java - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 6.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyCoordinateFactory.java
nonNull(request, "request"); InternalSession session = InternalSession.from(request.getSession()); ArtifactType type = null; if (request.getType() != null) { type = session.getSession().getArtifactTypeRegistry().get(request.getType()); } if (request.getCoordinateString() != null) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultVersionRangeResolver.java
throws VersionRangeResolverException { nonNull(request, "request"); InternalSession session = InternalSession.from(request.getSession()); try { VersionRangeResult res = repositorySystem.resolveVersionRange( session.getSession(), new VersionRangeRequest( session.toArtifact(request.getArtifactCoordinate()),
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Dec 08 09:10:49 GMT 2023 - 4.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
resolve(artifact, remoteRepositories, getSession(localRepository)); } public void resolveAlways( Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException { resolve(artifact, remoteRepositories, getSession(localRepository)); } private void resolve(
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 24.8K bytes - Viewed (0)