XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • ipojo-runtime-1.11.0
    • iPOJO
    • None

    Description

      An optional service dependency can declare an 'exception' attribute. This exception is raised when no service providers are available.

      The specified exception must a subclass of Runtime Exception.

      @Requires(id="foo", optional = true, exception = NoServiceException.class)
      private FooService fs;
      

      Attachments

        Activity

          People

            clement.escoffier Clement Escoffier
            clement.escoffier Clement Escoffier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: