Package net.jini.lookup.entry
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 class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.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
-