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 otherInvocationHandler
is able to handle the invocation.ProxyBuilder.withDefaultHashCodeAndEquals()
Specifies theObject.hashCode()
andObject.equals(Object)
method.ProxyBuilder.withHandlersForRemoteDispatcher
(RemoteInvocationDispatcher remoteInvocationDispatcher) Generates anInvocationHandler
for each method int he class markedRemotelyInvokable
using the specifedRemoteInvocationDispatcher
.ProxyBuilder.withHandlersForRemoteInvoker
(RemoteInvoker remoteInvoker) Generates anInvocationHandler
for each method in the class markedRemotelyInvokable
using 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 aMethod
through aMethodAssignment
.