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

com.freemanan.starter.grpc.extensions.test.InProcessName Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show newest version
package com.freemanan.starter.grpc.extensions.test;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Annotation at the field that injects the gRPC server in-process name.
 *
 * 

Example: * *

{@code
 * @SpringBootTest
 * class FooTest{
 *     @InProcessName
 *     String inProcessName;
 * }
 * }
* * @author Freeman */ @Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface InProcessName {}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy