net.jini.lookup.entry
Class Name
java.lang.Object
net.jini.entry.AbstractEntry
net.jini.lookup.entry.Name
- All Implemented Interfaces:
- Externalizable, Serializable, Entry
public class Name
- extends AbstractEntry
- implements Externalizable
The name of a service as used by users. A service may have
multiple names.
- Author:
- Sun Microsystems, Inc.
- See Also:
- Serialized Form
Constructor Summary |
Name()
Construct an empty instance of this class. |
Name(String name)
Construct an instance of this class, with all fields
initialized appropriately. |
name
public String name
- The name itself.
Name
public Name()
- Construct an empty instance of this class.
Name
public Name(String name)
- Construct an instance of this class, with all fields
initialized appropriately.
- Parameters:
name
- the value of the name
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
Copyright © GigaSpaces.