Class PythonProxyCreator
java.lang.Object
io.micronaut.context.python.aop.PythonProxyCreator
- All Implemented Interfaces:
RuntimeProxyCreator
@Internal
@Singleton
@NullMarked
public final class PythonProxyCreator
extends Object
implements RuntimeProxyCreator
Creates Micronaut runtime proxies backed by GraalPy values.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> TcreateProxy(RuntimeProxyDefinition<T> proxyDefinition) Create a new proxy instance.
-
Constructor Details
-
PythonProxyCreator
-
-
Method Details
-
createProxy
Description copied from interface:RuntimeProxyCreatorCreate a new proxy instance.- Specified by:
createProxyin interfaceRuntimeProxyCreator- Type Parameters:
T- The proxied bean type- Parameters:
proxyDefinition- The proxy definition.- Returns:
- The proxy instance
-