view examples/helloworld/TestEntry.java @ 5:7b6200980805

Pull system dependent properties out into build.properties, and allow users to override these properties with a user.properties file.
author dbrosius@mebigfatguy.com
date Thu, 14 May 2009 11:10:34 -0400
parents 3dc0c5604566
children
line wrap: on
line source

package helloworld;

import net.jini.core.entry.Entry;

/**
   Anything you wish to write to a JavaSpace must implement Entry.
   Only fields which are declared public will be stored and these fields
   should not be primitives such as int or long.  See the Entry specification
   for full details.
 */
public class TestEntry implements Entry {
    public String theValue;

    public TestEntry() {
    }

    public TestEntry(String aValue) {
        theValue = aValue;
    }

    public String toString() {
        return "TestEntry: " + theValue;
    }
}