|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.ws.ServiceRefDesc
public class ServiceRefDesc
A ServiceRefDesc describe a dependancy from a J2EE component onto a WebService (it is a Web Service Client). The component will have the hability to lookup the Service Implementation and use it.
Constructor Summary | |
---|---|
ServiceRefDesc(ClassLoader classLoader,
ServiceRef sref,
JonasServiceRef jsref,
String filename)
Creates a new ServiceRefDesc object. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Return true if the parameter is a ServiceRefDesc and if it
equals this object. |
URL |
getAlternateWsdlURL()
|
List |
getHandlerRefs()
Return the list of Handler. |
protected static I18n |
getI18n()
|
URL |
getLocalWSDLURL()
|
MappingFile |
getMappingFile()
|
URL |
getMappingFileURL()
|
String |
getParam(String name)
Return the value of the specified parameter. |
Hashtable |
getParams()
Return all the params of the ServiceRefDesc as an Hashtable. |
List |
getPortComponentRefs()
Return the list of PortComponentRef. |
Class |
getServiceInterface()
Return the Class object representing the service-interface. |
QName |
getServiceQName()
Return the QName identifying the service in the WSDL. |
String |
getServiceRefName()
Return the name used for Service interface lookup. |
WSDLFile |
getWSDLFile()
|
String |
getWsdlFileName()
Return the name of WSDL inside of the module. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceRefDesc(ClassLoader classLoader, ServiceRef sref, JonasServiceRef jsref, String filename) throws WSDeploymentDescException
classLoader
- web class loadersref
- generated object containing service-ref informations.jsref
- JOnAS specific service-ref informations.filename
- the name of the archive where retrieve WSDL and mapping
files
WSDeploymentDescException
- if the wsdl file is undefined or if
informations in wsdl and handler doesn't match.Method Detail |
---|
public List getPortComponentRefs()
IServiceRefDesc
getPortComponentRefs
in interface IServiceRefDesc
public List getHandlerRefs()
IServiceRefDesc
getHandlerRefs
in interface IServiceRefDesc
public String getServiceRefName()
IServiceRefDesc
getServiceRefName
in interface IServiceRefDesc
public Class getServiceInterface()
IServiceRefDesc
getServiceInterface
in interface IServiceRefDesc
public WSDLFile getWSDLFile()
public MappingFile getMappingFile()
public Hashtable getParams()
IServiceRefDesc
getParams
in interface IServiceRefDesc
public String getParam(String name)
IServiceRefDesc
getParam
in interface IServiceRefDesc
name
- the parameter to retrieve
public String getWsdlFileName()
IServiceRefDesc
getWsdlFileName
in interface IServiceRefDesc
public QName getServiceQName()
IServiceRefDesc
getServiceQName
in interface IServiceRefDesc
public int hashCode()
hashCode
in class Object
String.hashCode()
public boolean equals(Object other)
true
if the parameter is a ServiceRefDesc and if it
equals this object. Return false
else.
equals
in class Object
other
- the object to compare
protected static I18n getI18n()
public URL getAlternateWsdlURL()
getAlternateWsdlURL
in interface IServiceRefDesc
public URL getLocalWSDLURL()
getLocalWSDLURL
in interface IServiceRefDesc
public URL getMappingFileURL()
getMappingFileURL
in interface IServiceRefDesc
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |