|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ourgrid.common.url.URLProvider
org.ourgrid.common.url.UserAgentURLProvider
public class UserAgentURLProvider
This class provides URLs for the main components of User Agent that needed to be remotely referenced.
Field Summary | |
---|---|
static java.lang.String |
USERAGENT
|
static java.lang.String |
USERAGENT_UIMANAGER
|
Constructor Summary | |
---|---|
UserAgentURLProvider()
|
Method Summary | |
---|---|
static java.lang.String |
publishedObjects()
This method is used like a common point to get the address of the all UserAgent published objects. |
static java.lang.String |
shutdownManager()
This method is used like a common point to get the address of the ShutdownManager. |
static java.lang.String |
shutdownManager(java.lang.String name,
java.lang.String port)
This method is used like a common point to get the address of the ShutdownManager from a defined UserAgent. |
static java.lang.String |
userAgent()
This method builds an user agent URL based on the name and port number used on the ua.properties configuration file. |
static java.lang.String |
userAgent(java.lang.String hostname,
int port)
This method builds a UserAgent URL based on a hostname and a port number. |
static java.lang.String |
userAgentFailureDetector()
This method is used like a common point to get the address of the UserAgent Failure Detector. |
static java.lang.String |
userAgentUIManager()
This method is used like a common point to get the address of the all UserAgent published objects. |
Methods inherited from class org.ourgrid.common.url.URLProvider |
---|
getExternalName, getFullURL, getHost, getName, getPort, getPort, getScheme |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USERAGENT_UIMANAGER
public static final java.lang.String USERAGENT
Constructor Detail |
---|
public UserAgentURLProvider()
Method Detail |
---|
public static java.lang.String userAgent()
public static java.lang.String userAgent(java.lang.String hostname, int port)
hostname
- Hostname used to build this URL.port
- TCP port number used to build this URL.
public static java.lang.String shutdownManager()
public static java.lang.String shutdownManager(java.lang.String name, java.lang.String port)
name
- Host name of the User Agent.port
- Port of this UserAgent.
public static java.lang.String publishedObjects()
public static java.lang.String userAgentFailureDetector()
public static java.lang.String userAgentUIManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |