|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.openwings.availability.VisibleFactory
This class provides a way to obtain an implementation of
Visible. There may be multiple Visible instances
in an application corresponding to different hosts.
The choice of Visible implementation
class is set using the
net.openwings.availability.visible.implementation property.
A compliant implementation must implement this interface
and provide two constructors:
Constructor(java.net.InetAddress host)
Constructor(java.lang.String hostname) throws UnknownHostException
| Constructor Summary | |
VisibleFactory()
|
|
| Method Summary | |
static Visible |
getVisible(java.net.InetAddress host)
This method is used to obtain an implementation of the Visible plugin based on an address. |
static Visible |
getVisible(java.lang.String hostname)
This method is used to obtain an implementation of the Visible plugin based on a hostname. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public VisibleFactory()
| Method Detail |
public static Visible getVisible(java.net.InetAddress host)
Visible plugin based on an address.
Visible
interface.
public static Visible getVisible(java.lang.String hostname)
throws java.net.UnknownHostException
Visible plugin based on a hostname.
Visible
interface.
java.net.UnknownHostException - if the host cannot be determined from
the hostname
|
Openwings API Documentation (v1.1) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||