GigaSpaces XAP 9.0 API

net.jini.lookup.entry
Class Name

java.lang.Object
  extended by net.jini.entry.AbstractEntry
      extended by 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

Field Summary
 String name
          The name itself.
 
Constructor Summary
Name()
          Construct an empty instance of this class.
Name(String name)
          Construct an instance of this class, with all fields initialized appropriately.
 
Method Summary
 void readExternal(ObjectInput in)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name
The name itself.

Constructor Detail

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
Method Detail

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

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.