OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [sca-j] ISSUE 207: Problems with testcases JCA_8007, JCA_8011 - updatedproposal


There was a small flaw in th proposal to fix JCA_2007.

Since the interface has the intents - and since both the service and the reference use this interface, then both the
service and the reference end up with those intents attached - and so both service and reference need the policySets
to satisfy the intents.  The previous proposal forgot to add the policy set at the <reference/> level.

The updated proposal for the composite file is as follows:

    <component name="TEST_JCA_8007Component1">
        <implementation.java class="org.oasisopen.sca.test.service5Impl2"/>
        <service name="Service1">
            <interface.java interface="org.oasisopen.sca.test.Service1"/>
        <reference name="reference1" target="TEST_JCA_8007Component2" policySets="test:PolicySet4"/>
        <property name="serviceName">service1</property>

    <component name="TEST_JCA_8007Component2">
        <implementation.java class="org.oasisopen.sca.test.service5Impl"/>
        <service name="Service5Intents" policySets="test:PolicySet4">
            <interface.java interface="org.oasisopen.sca.test.Service5Intents"/>
        <property name="serviceName">service2</property>

- note the presence of PolicySet4 on the reference of Component1....

Yours,  Mike.

Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014    Mobile: +44-7802-467431  
Email:  mike_edwards@uk.ibm.com

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]