Interface Markable

All Known Subinterfaces:
AdvisorDef2, ContributionDef2, ContributionDef3, DecoratorDef2
All Known Implementing Classes:
AdvisorDefImpl, ContributionDefImpl, DecoratorDefImpl

public interface Markable
Interface implemented by objects which need to disambiguate services with marker annotations.
Since:
5.2.2
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an optional set of marker annotation.
    Returns the service interface associated with the service.
  • Method Details

    • getMarkers

      Returns an optional set of marker annotation. Marker annotations are used to disambiguate services; the combination of a marker annotation and a service type is expected to be unique. Note that it is not possible to identify which annotations are markers and which are not when this set is constructed, so it may include non-marker annotations.
      See Also:
    • getServiceInterface

      Returns the service interface associated with the service.
      See Also: