Clone Tools
  • last updated 15 mins ago
Constraints: committers
Constraints: files
Constraints: dates
Enhanced the Greeter Demo to include an API that takes a data object. The new GreeterService API is as follows: public interface GreeterService { Map<GreetingPhrase, String> greetMe(String name); GreetingPhrase [] greetMe(GreeterData name) throws GreeterException; }

where the GreeterData interface is defined as follows:

public interface GreeterData {

String getName();

int getAge();

boolean isException();


This in response to some questions on the CXF users list around passing data objects.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 5 more files in changeset.
Added support for the new Remote Services properties as they are currently in the draft Remote Services spec. The following changes have been made: (old) -> (new) osgi.remote.interfaces -> service.exported.interfaces osgi.remote.configuration.type=pojo -> osgi.remote.configuration.pojo.address -> osgi.remote.configuration.pojo.httpservice.context -> osgi.remote.requires.intents -> service.exported.intents and service.exported.intents.extra osgi.deployment.intents -> service.intents osgi.remote -> service.imported

Services exposed using the old properties still work for backward compatibility...

Updated the Greeter Demo to use the new properties.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 17 more files in changeset.
Small fix to the greeter demo.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

Added support for the alternative syntax of the remote-services.xml file.

One syntax is with value attributes like this:


<provide interface="org.apache.cxf.dosgi.samples.greeter.GreeterService" />

<property name="osgi.remote.interfaces" value="*" />

<property name="osgi.remote.requires.intents" value="SOAP HTTP" />

<property name="osgi.remote.configuration.type" value="pojo" />

<property name="osgi.remote.configuration.pojo.address" value="http://localhost:9090/greeter" />


The other syntax is with value element content, like this:


<provide interface="org.apache.cxf.dosgi.samples.greeter.GreeterService" />

<property name="osgi.remote.interfaces">*</property>

<property name="osgi.remote.requires.intents">SOAP HTTP</property>

<property name="osgi.remote.configuration.type">pojo</property>

<property name="osgi.remote.configuration.pojo.address">http://localhost:9090/greeter</property>


Additionally, removed some old duplicated code from the local discovery service.

New unit and system tests added.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 6 more files in changeset.
Moving the Distributed OSGi DSW Reference Implementation out of the sandbox, into its own subproject. [6/8]

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

    • -0
    • +91
    • -0
    • +75
    • -0
    • +23
  1. … 21 more files in changeset.