Uploaded image for project: 'CXF Distributed OSGi (Retired)'
  1. CXF Distributed OSGi (Retired)
  2. DOSGI-262

Configure intent objects from service object (IntentsProvider, @Features)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • common
    • None
    • Unknown

    Description

      Currently all CXF configs have to be done using service based intents. While this matches RSA spec nicely it is a bit indirect and extensive to set up.

      So for the special case where the intent should only work on a single service and only on the export we can make this simpler.

      public interface IntentsProvider {
      List<?> getIntents();
      }

      With an interface like this we can add logging:

      @Component( ... )
      public class TaskResourceImpl implements TaskResource, IntentsProvider {
      ....
      public List<?> getIntents()

      { return asList(new LoggingFeature()); }

      }

      Attachments

        Activity

          People

            cschneider Christian Schneider
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: