com.thoughtworks.xstream.converters.reflection.FieldDictionary Java Examples
The following examples show how to use
com.thoughtworks.xstream.converters.reflection.FieldDictionary.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SubstituteJVM.java From camel-quarkus with Apache License 2.0 | 4 votes |
@Substitute public static ReflectionProvider newReflectionProvider(FieldDictionary dictionary) { /* The default SunUnsafeReflectionProvider would require registering every field of every bean for unsafe access */ return new SunLimitedUnsafeReflectionProvider(dictionary); }
Example #2
Source File: JVM.java From lams with GNU General Public License v2.0 | 2 votes |
/** * Create the best matching ReflectionProvider. * * @param dictionary the FieldDictionary to use by the ReflectionProvider * @return a new instance * @since 1.4.5 */ public static ReflectionProvider newReflectionProvider(FieldDictionary dictionary) { return (ReflectionProvider)DependencyInjectionFactory.newInstance(reflectionProviderType, new Object[]{ dictionary }); }