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

io.quarkus.smallrye.reactivemessaging.runtime.EmitterFactoryForLiteral Maven / Gradle / Ivy

There is a newer version: 3.15.1
Show newest version
package io.quarkus.smallrye.reactivemessaging.runtime;

import java.lang.annotation.Annotation;

import io.smallrye.reactive.messaging.annotations.EmitterFactoryFor;

public class EmitterFactoryForLiteral implements EmitterFactoryFor {

    private Class value;

    public static EmitterFactoryFor of(Class type) {
        return new io.quarkus.smallrye.reactivemessaging.runtime.EmitterFactoryForLiteral(type);
    }

    public EmitterFactoryForLiteral() {
    }

    public EmitterFactoryForLiteral(Class type) {
        this.value = type;
    }

    public Class getValue() {
        return value;
    }

    public void setValue(Class value) {
        this.value = value;
    }

    @Override
    public Class value() {
        return value;
    }

    @Override
    public Class annotationType() {
        return EmitterFactoryFor.class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy