FileDocCategorySizeDatePackage
WebServiceInfoProvider.javaAPI DocGlassfish v2 API6097Fri May 04 22:24:44 BST 2007com.sun.enterprise.admin.wsmgmt.repository.spi

WebServiceInfoProvider

public interface WebServiceInfoProvider
This is the mechanism to provide web service information for a given module. A WebServiceInfoProvider implementation is a class that extends the WebServiceInfoProvider abstract class. Some WebServiceInfoProvider can deal with ejb and web module. Some only deal with web modules.
A WebServiceInfoProvider implemented is identified by its fully qualified class name. The default RepositoryProvider is com.sun.enterprise.tools.common.AppServWebServiceInfoProvider

Fields Summary
public static final String
MOD_TYPE_PROP_NAME
Property name for module type. If this property is not set, the module type is assumed to web module.
public static final String
MOD_TYPE_EJB
EJB module type
public static final String
MOD_TYPE_WEB
WEB module type
public static final String
APP_ID_PROP_NAME
Application id for this web service end point
public static final String
BUNDLE_NAME_PROP_NAME
bundle name for this web service end point
public static final String
WSDL_PROP_NAME
WSDL location for this web service end point
public static final String
APPLICATION_XML_PROP_NAME
application.xml for this web service end point
public static final String
WS_XML_PROP_NAME
webservices.xml for this web service end point
public static final String
WS_XML_LOCATION_PROP_NAME
webservices.xml location for this web service end point
public static final String
MAPPING_PROP_NAME
mapping file location for this web service end point
public static final String
EJB_JAR_XML_PROP_NAME
ejb-jar.xml location for this web service end point
public static final String
SUN_EJB_JAR_XML_PROP_NAME
sun-ejb-jar.xml for this web service end point
public static final String
SUN_EJB_JAR_XML_LOCATION_PROP_NAME
sun-ejb-jar.xml location for this web service end point
public static final String
WEB_XML_PROP_NAME
web.xml location for this web service end point
public static final String
SUN_WEB_XML_PROP_NAME
sun-web.xml location for this web service end point
public static final String
SUN_WEB_XML_LOCATION_PROP_NAME
sun-web.xml location for this web service end point
public static final String
APP_ROOT_LOCATION_PROP_NAME
application root location for this web service end point
public static final String
BUNDLE_ROOT_LOCATION_PROP_NAME
bundle root location for this web service end point
Constructors Summary
Methods Summary
public java.lang.StringgetProviderID()
Returns the unique identifier for this WebServiceInfoProvider object.

return
fully qualified class name of this WebServiceInfoProvider

public java.util.ListgetWebServiceInfo(java.lang.String moduleInfo, java.util.Map propMap)
Returns the List of WebServiceInfos for the provided EJB module.

param
moduleInfo Descriptor file (sun-ejb-jar.xml or sun-web-app.xml) location
param
propMap Additional properties passed
return
the List of WebServiceInfos
throws
when the descriptor can not be read or file is not of sun-ejb-jar.xml or sun-web-app.xml type.