- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 294 for instantiated (0.17 seconds)
-
architecture/standards/0006-use-of-provider-apis-in-gradle.md
Note that when adding a lazy property to an existing class, you need to check if instances of the class are instantiated via ObjectFactory. Most classes are instantiated this way, but it's possible that a class without any lazy properties was never updated to use it. A tell-tale sign that an object is not instantiated via the ObjectFactory are direct calls to the constructor with new. ### Existing properties in existing classes
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Oct 15 20:00:57 GMT 2024 - 10K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java
import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Denotes that a bean should be created as a singleton instance. * <p> * Singleton-scoped beans are instantiated once and reused throughout the entire * Maven execution. This scope should be used for stateless services or components * that can be safely shared across the entire build process. * <p> * Example usage: * <pre>
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jan 30 23:28:59 GMT 2025 - 1.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/SessionScoped.java
import com.google.inject.ScopeAnnotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * * @since 3.2.0 */ @Target({TYPE}) @Retention(RUNTIME) @ScopeAnnotationCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * <p> * A {@code org.apache.maven.api.Session} object is available in the scope of this annotation. * * @since 4.0.0 */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Sep 12 06:14:46 GMT 2024 - 1.5K bytes - Click Count (0) -
architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md
Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Sun Mar 10 20:38:06 GMT 2024 - 1.8K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/scope/MojoExecutionScoped.java
import com.google.inject.ScopeAnnotation; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before mojo execution starts and discarded after mojo * execution completes. * * @since 3.1.2 */ @Target({TYPE}) @Retention(RUNTIME) @ScopeAnnotationCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
import org.gradle.api.tasks.Internal import org.gradle.work.DisableCachingByDefault import java.io.File import kotlin.io.path.invariantSeparatorsPathString @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly") abstract class SubprojectsInfo : DefaultTask() { private val rootPath = project.layout.projectDirectory.asFile.toPath() private
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Mar 10 01:32:13 GMT 2025 - 3K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
* to test functionality that requires rea distributions (like the wrapper) * or separately published libraries (like the Tooling API Jar). */ @DisableCachingByDefault(because = "Abstract super-class, not to be instantiated directly") abstract class DistributionTest : Test() { /** * To further categorize tests. (We should simplify this and get rid of the subclasses if possible) */ @get:Internal
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 18:02:41 GMT 2025 - 7.7K bytes - Click Count (0) -
impl/maven-core/src/site/apt/getting-to-container-configured-mojos.apt
* MojoDescriptor Remove set/getMojoConfiguration(..), as it will become obsolete. * MavenSession We may need to enable the context injection here, since this will be instantiated per-project. If we always inject the same context parameters, and are careful to inject nulls where things are missing, we should be
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
@Override void render(File htmlReportFile, RichReportData data) { super.render(htmlReportFile, enrichReport(data)) } /** * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a * normal property on the renderer instance and just set the location of the API file in it. *Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 7.2K bytes - Click Count (0)