- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for bean (0.14 sec)
-
maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
MySingletonBean bean = container.lookup(MySingletonBean.class); assertNotNull(bean); assertNotNull(bean.anotherBean); assertSame(bean.anotherBean.getClass(), AnotherBean.class); assertNotNull(bean.myBean); assertNotSame(bean.myBean.getClass(), MySessionScopedBean.class); assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());
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/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
SomeBean bean = new SomeBean(); Xpp3Dom config = toConfig("<file>test</file>"); DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest(); request.setBean(bean).setConfiguration(config); configurator.configureBean(request); assertEquals(Paths.get("test"), bean.file); } @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Mojo.java
* @return need to be online */ boolean onlineRequired() default false; /** * TODO: v4: add a SPI for the configurator * configurator bean name. * @return the configurator bean name */ @Nonnull String configurator() default "";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.5K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java
SomeBean bean = new SomeBean(); Xpp3Dom config = toConfig("<file>test</file>"); DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest(); request.setBean(bean).setConfiguration(config); configurator.configureBean(request); assertEquals(new File("test"), bean.file); } @Test
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.7K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java
import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that the annotated bean has a lifespan limited to a given mojo execution, * which means each mojo execution will result in a different instance being injected. * * TODO: this is currently not implemented * * @since 4.0.0 */ @Scope
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Apr 22 13:58:08 GMT 2024 - 1.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/ReactorReader.java
import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** * An implementation of a workspace reader that knows how to search the Maven reactor for artifacts, either as packaged * jar if it has been built, or only compile output directory if packaging hasn't happened yet. * */ @Named(ReactorReader.HINT) @SessionScoped class ReactorReader implements MavenWorkspaceReader {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 21.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java
|| relocation.global)) { if (relocation.target == SENTINEL) { String message = "The artifact " + original + " has been banned from resolution: " + (relocation.global ? "User global ban" : "User project ban"); LOGGER.debug(message); throw new ArtifactDescriptorException(artifactDescriptorResult, message); }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 9.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivationContext.java
*/ Map<String, String> getSystemProperties(); /** * Gets the user properties to use for interpolation and profile activation. The user properties have been * configured directly by the user on his discretion, e.g. via the {@code -Dkey=value} parameter on the command * line. * * @return The user properties, never {@code null}. */
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Graph.java
cycle.removeLast(); stateMap.put(v, DfsState.VISITED); } else if (state == DfsState.VISITING) { // we are already visiting this vertex, this mean we have a cycle int pos = cycle.lastIndexOf(v); List<String> ret = cycle.subList(pos, cycle.size()); ret.add(v); return ret; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
@Nonnull List<RemoteRepository> getRemoteRepositories(); @Nonnull SessionData getData(); /** * Returns immutable user properties to use for interpolation. The user properties have been configured directly * by the user, e.g. via the {@code -Dkey=value} parameter on the command line. * * @return the user properties, never {@code null} */ @Nonnull
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 30.2K bytes - Viewed (0)