io.quarkiverse.ironjacamar.runtime.endpoint.MessageEndpointWrapper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-ironjacamar Show documentation
Show all versions of quarkus-ironjacamar Show documentation
Run Jakarta Connector (JCA) adapters in Quarkus
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