All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkiverse.ironjacamar.runtime.endpoint.MessageEndpointWrapper Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package io.quarkiverse.ironjacamar.runtime.endpoint;

import java.lang.reflect.Method;

import jakarta.resource.ResourceException;
import jakarta.resource.spi.endpoint.MessageEndpoint;

public abstract class MessageEndpointWrapper implements MessageEndpoint {

    private final MessageEndpoint delegate;

    protected MessageEndpointWrapper(MessageEndpoint delegate) {
        this.delegate = delegate;
    }

    @Override
    public void beforeDelivery(Method method) throws NoSuchMethodException, ResourceException {
        delegate.beforeDelivery(method);
    }

    @Override
    public void afterDelivery() throws ResourceException {
        delegate.afterDelivery();
    }

    @Override
    public void release() {
        delegate.release();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy