|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.norbl.cbp.ppe.usermonitor.MonitorHostname
public class MonitorHostname
Static methods for getting and setting the UserMonitor
host name.
There should always be one (and only one) instance of the UserMonitor
running.
Constructor Summary | |
---|---|
MonitorHostname()
|
Method Summary | |
---|---|
static java.lang.String |
getHostNameFromS3()
This method creates its own S3Access object. |
static java.lang.String |
getThisHostsPublicName()
Gets the public dns of this system, iff it is a ec2 instance. |
static void |
setHostNameOnS3(S3Access s3Access,
java.lang.String hostname)
Sets the public s3 host name object to specified string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MonitorHostname()
Method Detail |
---|
public static java.lang.String getThisHostsPublicName() throws java.io.IOException
java.io.IOException
public static void setHostNameOnS3(S3Access s3Access, java.lang.String hostname)
s3Access
- hostname
- public static java.lang.String getHostNameFromS3()
S3Access
object. The object
is publicly readable so no IDs are required.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |