public class WebHelper extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JUDDI_CLIENT_MANAGER_NAME |
static String |
JUDDI_CLIENT_TRANSPORT |
static Log |
logger |
static String |
UDDI_CLIENT_CONFIG_FILE |
static String |
UDDI_CLIENT_MANAGER_NAME |
Constructor and Description |
---|
WebHelper() |
Modifier and Type | Method and Description |
---|---|
static Transport |
getTransport(ServletContext servletContext) |
static Transport |
getTransport(ServletContext servletContext,
UDDINode remoteNode) |
static UDDIClerkManager |
getUDDIClerkManager(ServletContext servletContext)
Checks the servlet context for the manager defined in the web context.
|
static UDDINode |
getUDDIHomeNode(ServletContext servletContext) |
public static Log logger
public static final String UDDI_CLIENT_MANAGER_NAME
public static final String UDDI_CLIENT_CONFIG_FILE
public static final String JUDDI_CLIENT_MANAGER_NAME
public static final String JUDDI_CLIENT_TRANSPORT
public static UDDIClerkManager getUDDIClerkManager(ServletContext servletContext) throws 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
- ConfigurationException
public static UDDINode getUDDIHomeNode(ServletContext servletContext) throws ConfigurationException
servletContext
- ConfigurationException
public static Transport getTransport(ServletContext servletContext) throws ConfigurationException, ClassNotFoundException, IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
public static Transport getTransport(ServletContext servletContext, UDDINode remoteNode) throws ConfigurationException, ClassNotFoundException, IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.