|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.appserv.management.base.MapCapableBase
com.sun.appserv.management.ext.wsmgmt.WebServiceEndpointInfoImpl
public final class WebServiceEndpointInfoImpl
This is the mechanism to provide web service endpoint's information in a given module.
| Field Summary |
|---|
| Fields inherited from interface com.sun.appserv.management.ext.wsmgmt.WebServiceEndpointInfo |
|---|
APP_ID_KEY, APPLICATION_XML_KEY, BUNDLE_NAME_KEY, CLASS_NAME, EJB_IMPL, EJB_XML_KEY, END_POINT_URI_KEY, IS_SECURE_KEY, IS_STAND_ALONE_MODULE_KEY, MAPPING_FILE_KEY, MAPPING_FILE_LOCATION_KEY, NAME_KEY, SERVICE_IMPL_CLASS_KEY, SERVICE_IMPL_NAME_KEY, SERVICE_IMPL_TYPE_KEY, SERVLET_IMPL, SUN_EJB_XML_KEY, SUN_WEB_XML_KEY, THROUGHPUT_STATISTIC, WEB_SERVICES_FILE_KEY, WEB_XML_KEY, WSDL_FILE_KEY, WSDL_FILE_LOCATION_KEY |
| Fields inherited from interface com.sun.appserv.management.base.MapCapable |
|---|
MAP_CAPABLE_CLASS_NAME_KEY |
| Constructor Summary | |
|---|---|
WebServiceEndpointInfoImpl(Map<String,Serializable> m,
String className)
Public constructor |
|
WebServiceEndpointInfoImpl(String name,
String uri,
String appid,
String bundleName,
boolean isStandalone,
String wsdl,
String mapfile,
String webservicesFile,
String implType,
String implName,
String implClass,
boolean isSecure)
Public constructor |
|
| Method Summary | |
|---|---|
String |
getAppID()
Returns the name of the application or stand alone module that has this web service. |
String |
getApplicationXML()
Gets the application.xml file . |
String |
getBundleName()
Returns the module name within a EAR or null if it is a stand alone module. |
String[] |
getDescriptors()
Returns the descriptor . |
String |
getEJBXML()
Gets the ejb.xml file . |
String |
getEndpointURI()
Returns the relative URI of this endpoint. |
String |
getMappingFile()
Returns the mapping file . |
String |
getName()
Returns the name of the WebService. |
String |
getServiceImplClass()
Returns the implementation Ejb or Servlet class name of this web service. |
String |
getServiceImplName()
Returns the implementation Ejb or Servlet name of this web service. |
String |
getServiceImplType()
Returns the implementation type of this web service. |
String |
getSunEJBXML()
Gets the sun-ejb.xml file . |
String |
getSunWebXML()
Gets the sun-web.xml file . |
String |
getWebservicesFile()
Returns the webservices.xml file . |
String |
getWebXML()
Gets the web.xml file . |
String |
getWSDLFile()
Returns the WSDL file. |
boolean |
isAppStandaloneModule()
Returns true if this web service belongs to a stand alone module. |
boolean |
isSecure()
Returns true if this web service is secured or not. |
void |
setAppID(String name)
Sets the name of the application or stand alone module that has this web service. |
void |
setApplicationXML(String applicationXML)
Sets the application.xml file . |
void |
setBundleName(String name)
Sets the module name within a EAR or null if it is a stand alone module. |
void |
setEJBXML(String EJBXML)
Sets the ejb.xml file . |
void |
setEndpointURI(String uri)
Sets the relative URI of this endpoint. |
void |
setIsAppStandaloneModule(boolean isAppStandAloneModule)
Sets the boolean indicating web service belongs to a stand alone module. |
void |
setIsSecure(boolean isSec)
Returns true if this web service is secured or not. |
void |
setMappingFile(String mapFile)
Sets the mapping file . |
void |
setName(String name)
Sets the name of the WebService. |
void |
setServiceImplClass(String implClassName)
Sets the implementation Ejb or Servlet class name of this web service. |
void |
setServiceImplName(String name)
Sets the implementation Ejb or Servlet name of this web service. |
void |
setServiceImplType(String type)
Sets the implementation type of this web service. |
void |
setSunEJBXML(String sunEJBXML)
Sets the sun-ejb.xml file . |
void |
setSunWebXML(String sunWebXML)
Sets the sun-web.xml file . |
void |
setWebservicesFile(String webservicesFile)
Sets the webservices.xml file . |
void |
setWebXML(String webXML)
Sets the web.xml file . |
void |
setWSDLFile(String wsdl)
Sets the WSDL file . |
protected boolean |
validate()
Return true if internal state is valid, false otherwise. |
| Methods inherited from class com.sun.appserv.management.base.MapCapableBase |
|---|
asMap, asMapHook, checkInJavaUtil, checkLegalObject, checkLegalObject, checkValidType, equals, getboolean, getBoolean, getByte, getField, getFile, getInteger, getMap, getMapClassName, getObject, getString, getStringArray, hashCode, illegalObject, makeImmutable, putAll, putField, putFieldHook, toString, validateNullOrOfType, validateThrow |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.sun.appserv.management.base.MapCapable |
|---|
asMap, getMapClassName |
| Constructor Detail |
|---|
public WebServiceEndpointInfoImpl(Map<String,Serializable> m,
String className)
m - Map containing keys as in WebServiceEndpointInfo
and their valuesclassName - Class name of the interface , must be
WebServiceEndpointInfo.CLASS_NAME
public WebServiceEndpointInfoImpl(String name,
String uri,
String appid,
String bundleName,
boolean isStandalone,
String wsdl,
String mapfile,
String webservicesFile,
String implType,
String implName,
String implClass,
boolean isSecure)
name - Name of the web service end pointuri - URI of the web service end pointappid - Application Id of this web service end pointbundleName - Bundle name (module name) of this web service end
pointisStandalone - true, if the module (ejb or web) of this web
service end point is standalonewsdl - WSDL file location for this web service end pointmapfile - Mapping file location for this web service end
pointwebservicesFile - webservices.xml file location for this web
service end pointimplType - Implementation type of this web service end pointimplName - Implemenation Ejb or Servlet nameimplClass - Implementation Ejb or Servlet class nameisSecure - Secure service or not| Method Detail |
|---|
protected boolean validate()
MapCapableBase
validate in class MapCapableBasepublic String getName()
getName in interface WebServiceEndpointInfopublic void setName(String name)
public String getEndpointURI()
getEndpointURI in interface WebServiceEndpointInfopublic void setEndpointURI(String uri)
public String getAppID()
getAppID in interface WebServiceEndpointInfopublic void setAppID(String name)
public boolean isAppStandaloneModule()
isAppStandaloneModule in interface WebServiceEndpointInfopublic void setIsAppStandaloneModule(boolean isAppStandAloneModule)
isAppStandAloneModule - true if this web service belongs to a
stand alone modulepublic String getBundleName()
getBundleName in interface WebServiceEndpointInfopublic void setBundleName(String name)
name - the bundle namepublic String getServiceImplType()
getServiceImplType in interface WebServiceEndpointInfopublic void setServiceImplType(String type)
type - either "EJB" or "SERVLET"public String getServiceImplName()
getServiceImplName in interface WebServiceEndpointInfopublic void setServiceImplName(String name)
name - the Ejb or Servlet namepublic String getServiceImplClass()
getServiceImplClass in interface WebServiceEndpointInfopublic void setServiceImplClass(String implClassName)
implClassName - the Ejb or Servlet class namepublic String getWSDLFile()
getWSDLFile in interface WebServiceEndpointInfopublic void setWSDLFile(String wsdl)
wsdl - the WSDL filepublic String getWebservicesFile()
getWebservicesFile in interface WebServiceEndpointInfopublic void setWebservicesFile(String webservicesFile)
webservicesFile - the Web services filepublic String getMappingFile()
getMappingFile in interface WebServiceEndpointInfopublic void setMappingFile(String mapFile)
mapFile - the mapping filepublic String getWebXML()
getWebXML in interface WebServiceEndpointInfopublic void setWebXML(String webXML)
webXML - the web.xml filepublic void setSunWebXML(String sunWebXML)
sunWebXML - the sun-web.xml filepublic String getSunWebXML()
getSunWebXML in interface WebServiceEndpointInfopublic void setEJBXML(String EJBXML)
EJBXML - the ejb.xml filepublic String getEJBXML()
getEJBXML in interface WebServiceEndpointInfopublic void setSunEJBXML(String sunEJBXML)
sunEJBXML - the sun-ejb.xml filepublic String getSunEJBXML()
getSunEJBXML in interface WebServiceEndpointInfopublic void setApplicationXML(String applicationXML)
applicationXML - the application.xml filepublic String getApplicationXML()
getApplicationXML in interface WebServiceEndpointInfopublic boolean isSecure()
WebServiceEndpointInfo.IS_SECURE_KEY key.
isSecure in interface WebServiceEndpointInfopublic void setIsSecure(boolean isSec)
WebServiceEndpointInfo.IS_SECURE_KEY key.
public String[] getDescriptors()
getDescriptors in interface WebServiceEndpointInfo
|
Java EE 5 SDK | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved.