org.apache.olingo.ext.proxy.api.annotations

## Annotation Type Singleton

-     @Retention(value=RUNTIME)
       @Target(value=METHOD)
      public @interface Singleton

  Give singleton a name. If interface extending Singleton is not annotated with this, the effective name will be class' `getSimpleName()`.

- - ### Required Element Summary

    Required Elements
    Modifier and Type | Required Element and Description
    --- | ---
    `String` | `name`

  - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element and Description
    --- | ---
    `String` | `container`

- - ### Element Detail

    - #### name

          public abstract String name

  - - #### container

          public abstract String container

      Default:
        ""

Copyright © 2013–2020 The Apache Software Foundation. All rights reserved.