public class WebHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JUDDI_CLIENT_NAME |
static String |
JUDDI_CLIENT_TRANSPORT |
static org.apache.commons.logging.Log |
logger |
static String |
UDDI_CLIENT_CONFIG_FILE |
static String |
UDDI_CLIENT_NAME |
Constructor and Description |
---|
WebHelper() |
Modifier and Type | Method and Description |
---|---|
static UDDIClient |
getUDDIClient(javax.servlet.ServletContext servletContext)
Checks the servlet context for the manager defined in the web
context.
|
public static final org.apache.commons.logging.Log logger
public static final String UDDI_CLIENT_NAME
public static final String UDDI_CLIENT_CONFIG_FILE
public static final String JUDDI_CLIENT_NAME
public static final String JUDDI_CLIENT_TRANSPORT
public static UDDIClient getUDDIClient(javax.servlet.ServletContext servletContext) throws org.apache.commons.configuration.ConfigurationException
<context-param> <param-name>uddi.client.manager.name</param-name> <param-value>uddi-portlet-manager</param-value> </context-param>or, if you don't want to use the default META-INF/uddi.xml file path, but 'META-INF/my-uddi.xml' instead, then you can set:
<context-param> <param-name>uddi.client.config.path</param-name> <param-value>META-INF/my-uddi.xml</param-value> </context-param>
servletContext
- org.apache.commons.configuration.ConfigurationException
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.