Uses of Class
dev.getelements.elements.rt.remote.ProxyBuilder
Packages that use ProxyBuilder
-
Uses of ProxyBuilder in dev.getelements.elements.rt.remote
Methods in dev.getelements.elements.rt.remote that return ProxyBuilderModifier and TypeMethodDescriptionProxyBuilder.dontProxyDefaultMethods()Given any interface methods that are declared as "default" this will ensure that they are not proxied.ProxyBuilder.withDefaultHandler(InvocationHandler defaultInvocationHandler) Specifies the defaultInvocationHandler, which gets called when no otherInvocationHandleris able to handle the invocation.ProxyBuilder.withDefaultHashCodeAndEquals()Specifies theObject.hashCode()andObject.equals(Object)method.ProxyBuilder.withHandlersForRemoteDispatcher(RemoteInvocationDispatcher remoteInvocationDispatcher) Generates anInvocationHandlerfor each method int he class markedRemotelyInvokableusing the specifedRemoteInvocationDispatcher.ProxyBuilder.withHandlersForRemoteInvoker(RemoteInvoker remoteInvoker) Generates anInvocationHandlerfor each method in the class markedRemotelyInvokableusing the specifiedRemoteInvoker.ProxyBuilder.withMethodHandleCache(BiFunction<dev.getelements.elements.rt.remote.MethodHandleKey, Supplier<MethodHandle>, MethodHandle> methodHandleCache) Allows for hte specification of a cache-getter function.ProxyBuilder.withSharedMethodHandleCache()Uses theSharedMethodHandleCache.getSharedMethodHandleCache()to cache method handles.ProxyBuilder.withToString()Specifies the a defaultObject.toString()method, which simply returns the value "Proxy for the.class.Name"ProxyBuilder.withToString(String toString) Specifies the a defaultObject.toString()method, which simply returns the hardcoded value.Methods in dev.getelements.elements.rt.remote that return types with arguments of type ProxyBuilderModifier and TypeMethodDescriptionProxyBuilder.handler(InvocationHandler invocationHandler) Specifies an instance ofInvocationHandler, which can be used to handle invocations against aMethodthrough aMethodAssignment.