org.globus.ogsa.impl.base.gram.client
Class ContactURL

java.lang.Object
  extended byorg.globus.ogsa.impl.base.gram.client.ContactURL

public class ContactURL
extends java.lang.Object


Nested Class Summary
static interface ContactURL.FACTORY_TYPE
           
 
Field Summary
static java.lang.String DEFAULT_FACTORY_TYPE
           
static java.lang.String DEFAULT_PORT
           
static java.lang.String DEFAULT_PROTOCOL
           
static java.lang.String DEFAULT_SERVICE_PARENT_PATH
          The parent path part in the full default service name.
static java.lang.String PORT_PROPERTY
          String key for default container port property.
static java.lang.String PROTOCOL_PROPERTY
           
 
Constructor Summary
ContactURL()
           
 
Method Summary
static java.lang.String getDefaultServiceBaseName()
           
static java.lang.String getDefaultServiceNameWithoutContext()
           
static java.lang.String getServiceBaseName(java.lang.String factoryType)
           
static java.lang.String getServiceNameWithoutContext(java.lang.String factoryType)
           
static java.net.URL getURL(java.lang.String contactString, java.lang.String factoryType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORT_PROPERTY

public static final java.lang.String PORT_PROPERTY
String key for default container port property.

See Also:
Constant Field Values

DEFAULT_PORT

public static final java.lang.String DEFAULT_PORT
See Also:
Constant Field Values

PROTOCOL_PROPERTY

public static final java.lang.String PROTOCOL_PROPERTY
See Also:
Constant Field Values

DEFAULT_PROTOCOL

public static final java.lang.String DEFAULT_PROTOCOL
See Also:
Constant Field Values

DEFAULT_FACTORY_TYPE

public static final java.lang.String DEFAULT_FACTORY_TYPE
See Also:
Constant Field Values

DEFAULT_SERVICE_PARENT_PATH

public static final java.lang.String DEFAULT_SERVICE_PARENT_PATH
The parent path part in the full default service name.

See Also:
Constant Field Values
Constructor Detail

ContactURL

public ContactURL()
Method Detail

getServiceNameWithoutContext

public static java.lang.String getServiceNameWithoutContext(java.lang.String factoryType)
Returns:
the service name without the context (which is common to all services)

getDefaultServiceNameWithoutContext

public static java.lang.String getDefaultServiceNameWithoutContext()

getServiceBaseName

public static java.lang.String getServiceBaseName(java.lang.String factoryType)
Returns:
the base service name i.e the name without any path information

getDefaultServiceBaseName

public static java.lang.String getDefaultServiceBaseName()

getURL

public static java.net.URL getURL(java.lang.String contactString,
                                  java.lang.String factoryType)
                           throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException