- Sort Score
- Num 10 results
- Language All
Results 11 - 18 of 18 for getService (0.06 seconds)
-
src/main/java/org/codelibs/fess/storage/GcsStorageClient.java
} } // If no credentials path, uses default credentials (GOOGLE_APPLICATION_CREDENTIALS env var) } this.storage = builder.build().getService(); } @Override public void uploadObject(final String objectName, final InputStream inputStream, final long size, final String contentType) { try {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
return new SimpleSession(mavenSession, getRepositorySystem(), repositories); } @Override public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException { if (clazz == ArtifactCoordinatesFactory.class) { return (T) new DefaultArtifactCoordinatesFactory();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
return new SimpleSession(mavenSession, getRepositorySystem(), repositories); } @SuppressWarnings("unchecked") @Override public <T extends Service> T getService(Class<T> clazz) throws NoSuchElementException { if (clazz == ArtifactCoordinatesFactory.class) { return (T) new DefaultArtifactCoordinatesFactory();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java
* <li>Access to the {@link org.apache.maven.api.LocalRepository} and {@link org.apache.maven.api.RemoteRepository} configurations</li> * <li>Access to Maven services through {@link org.apache.maven.api.Session#getService(Class)}</li> * <li>Build configuration and settings</li> * </ul> * * <h3>Dependency management</h3> * * <p>{@link org.apache.maven.api.ArtifactCoordinates} instances are used to locate artifacts in a repository.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 7.7K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
} } // If no credentials file, GoogleCredentials.getApplicationDefault() will be used automatically } try { storage = builder.build().getService(); } catch (final Exception e) { throw new CrawlingAccessException("Failed to create GCS client: projectId=" + projectId, e); } isInit = true;Created: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Dec 11 08:38:29 GMT 2025 - 17.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
void testSmbTreeImplConstructor() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertNotNull(tree); assertEquals("SHARE", tree.getShare()); assertEquals("A:", tree.getService()); } // Test case for the matches method @Test void testMatches() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertTrue(tree.matches("share", "A:"));
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
auth.setRealm("EXAMPLE.COM"); assertEquals("EXAMPLE.COM", auth.getRealm()); // Service accessors assertEquals("cifs", auth.getService()); auth.setService(""); assertEquals("", auth.getService()); // Lifetime accessors (edge: zero/negative) auth.setUserLifeTime(0); assertEquals(0, auth.getUserLifeTime()); auth.setUserLifeTime(-1);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategy.java
RemoteRepository central = session.createRemoteRepository(RemoteRepository.CENTRAL_ID, "https://repo.maven.apache.org/maven2"); RemoteRepository snapshots = session.getService(RepositoryFactory.class) .createRemote(Repository.newBuilder() .id("apache-snapshots") .url("https://repository.apache.org/content/repositories/snapshots/")Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 37K bytes - Click Count (0)