- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Bean (0.24 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) -
maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java
} final Object bean = instantiateObject(implType); if (null == value) { processConfiguration(lookup, bean, loader, configuration, evaluator, listener); } else { new CompositeBeanHelper(lookup, loader, evaluator, listener).setDefault(bean, value, configuration); } return bean; } catch (final ComponentConfigurationException e) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 4.6K 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-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) -
maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java
* dependency properties. * * @return if the artifact can be added to the class path * * @deprecated A value of {@code true} does not mean that the dependency should * be placed on the classpath. See {@code JavaPathType} instead for better analysis. */ @Deprecated boolean isAddedToClasspath();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/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.label); List<String> ret = cycle.subList(pos, cycle.size()); ret.add(v.label); return ret; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.5K bytes - Viewed (0)