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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: common
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: