Annotation Interface Extension


@Retention(RUNTIME) @Target({TYPE,FIELD,PARAMETER,METHOD}) @Qualifier public @interface Extension
An extension of a service. In order for us to understand the context of the extension, we must consider the extensions call.
For our purposes, the minimal context of an extension is the type of the service it extends ex. ServiceType.COMPUTE, and its namespace ex. http://docs.openstack.org /ext/keypairs/api/v1.1.
See Also:
  • Element Details

    • of

      String of
      the service type this is an extension of.

      note

      This isn't necessarily one of the built-in services, it could be an extension of a custom service.
      Returns:
      the service type this is an extension of.
    • namespace

      String namespace
      Returns:
      the namespace of the extension