Lines Matching refs:linker

92 import jdk.dynalink.linker.GuardedInvocation;
93 import jdk.dynalink.linker.GuardingDynamicLinker;
94 import jdk.dynalink.linker.LinkRequest;
95 import jdk.dynalink.linker.LinkerServices;
96 import jdk.dynalink.linker.TypeBasedGuardingDynamicLinker;
99 * A linker for ordinary Java objects. Normally used as the ultimate fallback
100 * linker by the {@link DynamicLinkerFactory} so it is given the chance to link
101 * calls to all objects that no other linker recognized. Specifically, this
102 * linker will:
172 * Creates a new beans linker. Equivalent to
182 * Creates a new beans linker with the specified factory for creating
193 * Returns a bean linker for a particular single class. Useful when you need
195 * language runtime's linker, but still want to delegate to the default
198 * @return a bean linker for that class
209 private final TypeBasedGuardingDynamicLinker linker;
212 NoSuchMemberHandlerBindingLinker(final TypeBasedGuardingDynamicLinker linker, final MissingMemberHandlerFactory missingMemberHandlerFactory) {
213 this.linker = linker;
219 return linker.canLinkType(type);
224 return linker.getGuardedInvocation(linkRequest,
286 final TypeBasedGuardingDynamicLinker linker = getStaticLinkerForClass(clazz);
287 if(linker instanceof BeanLinker) {
288 return ((BeanLinker)linker).getReadablePropertyNames();
299 final TypeBasedGuardingDynamicLinker linker = getStaticLinkerForClass(clazz);
300 if(linker instanceof BeanLinker) {
301 return ((BeanLinker)linker).getWritablePropertyNames();
312 final TypeBasedGuardingDynamicLinker linker = getStaticLinkerForClass(clazz);
313 if(linker instanceof BeanLinker) {
314 return ((BeanLinker)linker).getMethodNames();