- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 280 for Bean (0.01 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
* container: this annotation is only effective on fields of the Mojo class itself, nested bean injection * requires Sisu or JSR330 annotations. * * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.METHOD}) @Inherited public @interface Parameter { /** * name of the bean property used to get/set the field: by default, field name is used.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Feb 05 09:45:47 UTC 2024 - 3.8K bytes - Viewed (0) -
README.md
nameProperty.setValue(bean, "John Doe"); // Bean copying with flexible options BeanUtil.copyBeanToBean(source, destination); BeanUtil.copyBeanToBean(source, destination, options -> options.exclude("password", "internalId")); // Convert between beans and maps Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean); MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class); ``` ### Type Conversion
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
/** * A request to configure a bean from some configuration in the POM or similar. * */ public interface BeanConfigurationRequest { /** * Gets the bean to configure. Eventually, a valid request must have a bean set. * * @return The bean to configure, or {@code null} if none. */ Object getBean(); /**Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java
} /** * @throws Exception */ @Test public void testCopyBeanToBean_converter() throws Exception { final Bean bean = new Bean(); bean.aaa = "1,000"; final Bean2 bean2 = new Bean2(); BeanUtil.copyBeanToBean(bean, bean2, converter(new NumberConverter("#,##0"))); assertThat(bean2.aaa, is(Integer.valueOf(1000))); } /** * @throws ExceptionRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 34.5K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
* * @param parser The XML parser * @return Converted bean instance */ private Object parseBean(final MXParser parser, final TypeLiteral<?> toType, final Class<?> rawType) throws Exception { final Class<?> clazz = loadImplementation(parseImplementation(parser), rawType); // simple bean? assumes string constructorRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 15.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java
MySingletonBean bean = container.lookup(MySingletonBean.class); assertNotNull(bean); assertNotNull(bean.anotherBean); assertSame(AnotherBean.class, bean.anotherBean.getClass()); assertNotNull(bean.myBean); assertNotSame(MySessionScopedBean.class, bean.myBean.getClass()); assertThrows(OutOfScopeException.class, () -> bean.myBean.getSession());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/DefaultBeanConfigurationRequest.java
private BeanConfigurationPathTranslator pathTranslator; @Override public Object getBean() { return bean; } @Override public DefaultBeanConfigurationRequest setBean(Object bean) { this.bean = bean; return this; } @Override public Object getConfiguration() { return configuration; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
this.listener = listener; } /** * Calls the default "set" method on the bean; re-converts the configuration if necessary. */ public void setDefault(Object bean, Object defaultValue, PlexusConfiguration configuration) throws ComponentConfigurationException { Class<?> beanType = bean.getClass(); // Find the default "set" methodRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 12 14:59:46 UTC 2025 - 12.3K bytes - Viewed (0) -
impl/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 { // Use optimized helper for better performance new EnhancedCompositeBeanHelper(lookup, loader, evaluator, listener) .setDefault(bean, value, configuration); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 17 07:40:49 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/DefaultSearcher.java
/** * Performs a search operation using the specified query and parameters. * * @param query the search query string * @param params the search request parameters * @param userBean the optional user bean for access control * @return the search result containing documents and metadata */ @OverrideRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 09:24:04 UTC 2025 - 12.6K bytes - Viewed (0)