Package com.j_spaces.lookup.entry
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 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
-
-
Constructor Details
-
HostName
public HostName() -
HostName
-
-
Method Details
-
getHostNameFrom
- Returns:
- the hostname value from arrays of
attrs,nullif no HostName entry as part ofattrs.
-
fromString
- Specified by:
fromStringin classGenericEntry
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-