Class ContextualizerImpl

    • Constructor Detail

      • ContextualizerImpl

        public ContextualizerImpl()
    • Method Detail

      • contextualize

        public <T> T contextualize​(T object,
                                   Class<T> intf)
        Description copied from interface: Contextualizer
        Wraps an object in a proxy that preserves Payara context
        Specified by:
        contextualize in interface Contextualizer
        Type Parameters:
        T - object type to proxy and contextualize
        Parameters:
        object - object instance to proxy and contextualize
        intf - Interface that is used to proxy the object
        Returns:
        proxied object