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

io.scalecube.services.annotations.Service Maven / Gradle / Ivy

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