Outrigger jini2.1
"Santoshi, Vishal" <[email protected]>
| Newsgroups | gmane.comp.java.sun.javaspaces |
|---|---|
| Message-ID | <[email protected]> |
I still have this question
1. How do I identify a JavaSpace by a name ? I have tried modifying the
transient-outrigger.config in
example/outrigger/jrmp/config (I started off by using the jrmp-transient
option i.e urun jrmp-transient)
import net.jini.jrmp.JrmpExporter;
import net.jini.core.discovery.LookupLocator;
import net.jini.lookup.entry.Name;
import net.jini.core.entry.Entry;
com.sun.jini.outrigger {
serverExporter = new JrmpExporter();
initialLookupGroups = new String[] {"JRMP_Group0","JRMP_Group1"};
initialLookupAttributes = new Entry[]{new Name("gallup")};
}//end com.sun.jini.outrigger
This does not seem to resolve the space by name if I use this code.
entry=new Entry[]{new Name("gallup")};
_template=new ServiceTemplate(null,types,entry); // and so on.
===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff JAVASPACES-USERS". For general help, send email to
[email protected] and include in the body of the message "help".
To view past JAVASPACES-USERS postings, please see:
http://archives.java.sun.com/archives/javaspaces-users.html