org.apache.juddi.v3.client.config
Class UDDIKeyConvention
java.lang.Object
org.apache.juddi.v3.client.config.UDDIKeyConvention
public class UDDIKeyConvention
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_BUSINESS_KEY_FORMAT
public static final String DEFAULT_BUSINESS_KEY_FORMAT
- See Also:
- Constant Field Values
DEFAULT_SERVICE_KEY_FORMAT
public static final String DEFAULT_SERVICE_KEY_FORMAT
- See Also:
- Constant Field Values
DEFAULT_SUBSCRIPTION_KEY_FORMAT
public static final String DEFAULT_SUBSCRIPTION_KEY_FORMAT
- See Also:
- Constant Field Values
DEFAULT_BINDING_KEY_FORMAT
public static final String DEFAULT_BINDING_KEY_FORMAT
- See Also:
- Constant Field Values
UDDIKeyConvention
public UDDIKeyConvention()
getBusinessKey
public static String getBusinessKey(Properties properties)
- Constructs the serviceKey based on the bindingKeyFormat specified in the properties. When no
businessKeyFormat is specific the default format of uddi:${keyDomain}:${businessName} is used. The businessName
property needs to be set properties.
- Parameters:
properties
-
- Returns:
- the businessKey
getSubscriptionKey
public static String getSubscriptionKey(Properties properties)
getServiceKey
public static String getServiceKey(Properties properties,
String serviceName)
- Constructs the serviceKey based on the serviceKeyFormat specified in the properties. When no
serviceKeyFormat is specific the default format of uddi:${keyDomain}:${serviceName} is used.
- Parameters:
properties
- serviceName
-
- Returns:
- the serviceKey
getBindingKey
public static String getBindingKey(Properties properties,
QName serviceName,
String portName,
URL bindingUrl)
getBindingKey
public static String getBindingKey(Properties properties,
QName serviceName,
String portName,
URI bindingUrl)
- Constructs the bindingKey based on the bindingKeyFormat specified in the properties. When no
bindingKeyFormat is specific the default format of uddi:${keyDomain}:${nodeName}-${serviceName}-{portName} is used.
- Parameters:
properties
- serviceName
- portName
-
- Returns:
- the bindingKey
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.