com.github.fridujo.sample.jms.Broker Maven / Gradle / Ivy
package com.github.fridujo.sample.jms;
import org.springframework.beans.factory.annotation.Qualifier;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target({ElementType.FIELD,
ElementType.METHOD,
ElementType.TYPE,
ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Qualifier
public @interface Broker {
Type value();
enum Type {
SELLER,
BUYER
}
}