Annotation Interface Publish


@Target(TYPE) @Retention(RUNTIME) public @interface Publish
The name (for referencing/overriding).
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The publishing id, e.g.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The scope user to find the publish service.
    Target name of the provided service.
    Target interface of the service to be published service.
    The publishing type, e.g.
  • Element Details

    • publishid

      String publishid
      The publishing id, e.g. url or name.
    • publishtype

      String publishtype
      The publishing type, e.g. web service.
      Default:
      ""
    • publishtarget

      Class<?> publishtarget
      Target interface of the service to be published service.
      Default:
      java.lang.Object.class
    • publishtagetname

      String publishtagetname
      Target name of the provided service.
      Default:
      ""
    • mapping

      Class<?> mapping
      The scope user to find the publish service. / public ServiceScope publishscope() default ServiceScope.PLATFORM; /** Flag if the service should be published to multiple locations. / public boolean multi() default false; /** The mapping information (e.g. annotated interface).
      Default:
      java.lang.Object.class