Class HostName
java.lang.Object
net.jini.entry.AbstractEntry
com.j_spaces.lookup.entry.GenericEntry
com.j_spaces.lookup.entry.HostName
- All Implemented Interfaces:
SmartExternalizable, Externalizable, Serializable, Entry, ServiceControlled
The hostName attributes for registering to LookupService. Every container or/and space may be
registered with
HostName attribute.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String attributeName) static StringgetHostNameFrom(Entry[] attrs) voidvoidMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
name
-
-
Constructor Details
-
HostName
public HostName() -
HostName
-
-
Method Details
-
getHostNameFrom
-
fromString
- Specified by:
fromStringin classGenericEntry
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-