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

Ask Your Question
0

Multiple GigaSpaces Instances

Hello,

Referring to this page: http://www.gigaspaces.com/wiki/displa...

Is the example syntax correct?

public class MyService {

@GigaSpaceContext("directGigaSpace")
private GigaSpace directGigaSpace;

@GigaSpaceContext("clusteredGigaSpace")
private GigaSpace clusteredGigaSpace;

}

I think "name=" may be required prior to the name of the instance to be injected:

@GigaSpaceContext(name="directGigaSpace")

-Dan

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

asked 2009-05-07 18:43:55 -0500

subuta 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

Doc fixed. Thanks!
Shay

answered 2009-05-08 05:46:52 -0500

shay hassidim gravatar image
edit flag offensive delete link more

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-05-07 18:43:55 -0500

Seen: 42 times

Last updated: May 08 '09