Class BBClientProxier
java.lang.Object
org.microbean.proxy.AbstractProxier<org.microbean.proxy.ProxySpecification>
org.microbean.proxy.AbstractToolkitProxier<org.microbean.proxy.ProxySpecification, DynamicType.Unloaded<?>>
org.microbean.clientproxy.bytebuddy.BBClientProxier
- All Implemented Interfaces:
ClientProxier
public final class BBClientProxier
extends org.microbean.proxy.AbstractToolkitProxier<org.microbean.proxy.ProxySpecification, DynamicType.Unloaded<?>>
implements ClientProxier
- Author:
- Laird Nelson
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBBClientProxier(Domain domain) Creates a newBBClientProxier.BBClientProxier(Domain domain, TypePool typePool) Creates a newBBClientProxier.BBClientProxier(Domain domain, TypeDefinitions tds, BBClientProxyClassGenerator g) Creates a newBBClientProxier. -
Method Summary
Modifier and TypeMethodDescription<R> RclientProxy(Id id, Supplier<? extends R> instanceSupplier) protected final DynamicType.Unloaded<?> generate(org.microbean.proxy.ProxySpecification ps) final <R> org.microbean.proxy.Proxy<R> protected final Class<?> proxyClass(DynamicType.Unloaded<?> dtu, ClassLoader cl) Methods inherited from class org.microbean.proxy.AbstractToolkitProxier
lookup, proxyClassMethods inherited from class org.microbean.proxy.AbstractProxier
classLoader, domain
-
Constructor Details
-
BBClientProxier
Creates a newBBClientProxier.- Parameters:
domain- aDomain; must not benull- Throws:
NullPointerException- if any argument isnull- See Also:
-
BBClientProxier
Creates a newBBClientProxier.- Parameters:
domain- aDomain; must not benulltypePool- aTypePool; must not benull- Throws:
NullPointerException- if any argument isnull- See Also:
-
BBClientProxier
Creates a newBBClientProxier.- Parameters:
domain- aDomain; must not benulltds- aTypeDefinitions; must not benullg- aBBClientProxyClassGenerator; must not benull- Throws:
NullPointerException- if any argument isnull
-
-
Method Details
-
clientProxy
- Specified by:
clientProxyin interfaceClientProxier
-
generate
- Specified by:
generatein classorg.microbean.proxy.AbstractToolkitProxier<org.microbean.proxy.ProxySpecification, DynamicType.Unloaded<?>>
-
proxy
-
proxyClass
protected final Class<?> proxyClass(DynamicType.Unloaded<?> dtu, ClassLoader cl) throws ClassNotFoundException - Specified by:
proxyClassin classorg.microbean.proxy.AbstractToolkitProxier<org.microbean.proxy.ProxySpecification, DynamicType.Unloaded<?>>- Throws:
ClassNotFoundException
-