blob: 6edde8b6b3769e0d0e8d6a67c8dbda0fadc6e8d4 [file] [log] [blame]
/*
* Copyright 2001-2008 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace org.apache.juddi.v3.client.config
{
/// <summary>
/// Contains a listing of "properties" ported over from the Java juddi-client
/// </summary>
/// <author><a href="mailto:alexoree@apache.org">Alex O'Ree</a></author>
public class Property
{
/*
public readonly static String UDDI_RELOAD_DELAY = "reloadDelay";
public readonly static String UDDI_PROXY_FACTORY_INITIAL = "java.naming.factory.initial";
public readonly static String UDDI_PROXY_PROVIDER_URL = "java.naming.provider.url";
public readonly static String UDDI_PROXY_FACTORY_URL_PKS = "java.naming.factory.url.pkgs";
public readonly static String DEFAULT_UDDI_PROXY_TRANSPORT = "org.uddi.api_v3.client.transport.JAXWSTransport";
*/
//Properties that can be set in the uddi.xml
public static readonly String LANG = "lang";
public static readonly String BUSINESS_KEY = "businessKey";
public static readonly String KEY_DOMAIN = "keyDomain";
public static readonly String SERVICE_KEY_FORMAT = "bpelServiceKeyFormat";
public static readonly String BUSINESS_KEY_FORMAT = "businessKeyFormat";
public static readonly String BINDING_KEY_FORMAT = "bindingKeyFormat";
public static readonly String SUBSCRIPTION_KEY_FORMAT = "subscriptionKeyFormat";
public static readonly String SERVICE_DESCRIPTION = "serviceDescription";
public static readonly String BINDING_DESCRIPTION = "bindingDescription";
public static readonly String SERVICE_CATEGORY_BAG = "serviceCategoryBag";
public static readonly String BINDING_CATEGORY_BAG = "bindingCategoryBag";
public static readonly String BASIC_AUTH_USERNAME = "basicAuthUsername";
public static readonly String BASIC_AUTH_PASSWORD = "basicAuthPassword";
//Default Values
public static readonly String DEFAULT_LANG = "en";
public static readonly String DEFAULT_SERVICE_DESCRIPTION = "Default service description when no <wsdl:document> element is defined inside the <wsdl:service> element.";
public static readonly String DEFAULT_BINDING_DESCRIPTION = "Default binding description when no <wsdl:document> element is defined inside the <wsdl:binding> element.";
public static String getTempDir()
{
String tmpDir = Environment.GetEnvironmentVariable("TEMP");
return tmpDir;
}
}
}