Class Name
java.lang.Object
net.jini.entry.AbstractEntry
net.jini.lookup.entry.Name
- All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Entry
The name of a service as used by users. A service may have multiple names.
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
name
The name itself.
-
-
Constructor Details
-
Name
public Name()Construct an empty instance of this class. -
Name
Construct an instance of this class, with all fields initialized appropriately.- Parameters:
name- the value of the name
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-