io.scalecube.services.annotations.Service Maven / Gradle / Ivy
The newest version!
package io.scalecube.services.annotations;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/** Indicates that annotated class is a scalecube service object. */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Service {
/**
* Name of the service. If not specified service class result will be used.
*
* @return service name
*/
String value() default "";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy