Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

How to add 2 objects to GSC Capabilities?

Assuming i need to add "DataCenter2", "Backup" to the existing override xml file.

How do i do that?

<overrides> <component name="org.jini.rio.qos"> <parameter name="addPlatformCapabilities"> new org.jini.rio.qos.capability.software.SoftwareSupport( new Object[]{"DataCenter1", "Primary"}) } ]]> </parameter> </component> </overrides>

{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2940]{quote}

asked 2009-03-10 22:05:26 -0500

kianping gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

I'm not sure how this make sense - but this how you could have add 2 objects as part of the PlatformCapability:
<overrides>
    <Component Name="org.jini.rio.qos">
        <Parameter Name="addPlatformCapabilities">
        <![CDATA[
        new org.jini.rio.qos.capability.PlatformCapability {

            new org.jini.rio.qos.capability.software.SoftwareSupport (
                new Object{"DataCenter1", "Primary"})
                             ,

                new Object{"DataCenter2", "Backup"})
            }
        ]]>
        </Parameter>
    </Component>
</overrides>

Shay

answered 2009-03-10 22:40:46 -0500

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Hi, i just manage to get it working using this. Thanks!

<overrides> <component name="org.jini.rio.qos"> <parameter name="addPlatformCapabilities"> </component> </overrides>

kianping gravatar imagekianping ( 2009-03-10 23:11:22 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2009-03-10 22:05:26 -0500

Seen: 6 times

Last updated: Mar 10 '09