Interface NameBound

All Known Implementing Classes:
ContractProvider, ResourceMethod

public interface NameBound
Model component that can be name bound. A component implementing this interface provides additional information about the name bindings attached to it.
Author:
Martin Matula
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the collection of name bindings attached to this component.
    boolean
    Check if the component is bound or not.
  • Method Details

    • isNameBound

      boolean isNameBound()
      Check if the component is bound or not.
      Returns:
      true if the component is bound, false otherwise.
    • getNameBindings

      Collection<Class<? extends Annotation>> getNameBindings()
      Get the collection of name bindings attached to this component.
      Returns:
      collection of name binding annotation types.