public interface Contextualizer
| Modifier and Type | Method and Description |
|---|---|
<T> T |
contextualize(T object,
Class<T> intf)
Wraps an object in a proxy that preserves Payara context
|
<T> T |
contextualize(T object,
ContextProducer.Instance context,
Class<T> intf)
Wraps an object in a proxy that preserves Payara context
|
<T> T |
contextualize(T object,
ContextProducer.Instance context,
Stream<Class<?>> interfaces)
Wraps an object in a proxy that preserves Payara context
|
<T> T contextualize(T object,
Class<T> intf)
T - object type to proxy and contextualizeobject - object instance to proxy and contextualizeintf - Interface that is used to proxy the object<T> T contextualize(T object,
ContextProducer.Instance context,
Class<T> intf)
T - object - context - intf - <T> T contextualize(T object,
ContextProducer.Instance context,
Stream<Class<?>> interfaces)
T - object - context - interfaces - Copyright © 2021. All rights reserved.