org.objectweb.jonas_ws.deployment.api.ServiceRefDesc Class Reference

Collaboration diagram for org.objectweb.jonas_ws.deployment.api.ServiceRefDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ServiceRefDesc (ClassLoader classLoader, ServiceRef sref, JonasServiceRef jsref, String filename) throws WSDeploymentDescException
List getPortComponentRefs ()
List getHandlerRefs ()
String getServiceRefName ()
Class getServiceInterface ()
WSDLFile getWSDLFile ()
MappingFile getMappingFile ()
Hashtable getParams ()
String getParam (String name)
String getWsdlFileName ()
QName getServiceQName ()
int hashCode ()
boolean equals (Object other)
URL getAlternateWsdlURL ()
URL getLocalWSDLURL ()
URL getMappingFileURL ()

Static Protected Member Functions

I18n getI18n ()

Detailed Description

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.

Author:
Guillaume Sauthier

Xavier Delplanque

Definition at line 69 of file ServiceRefDesc.java.


Constructor & Destructor Documentation

org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.ServiceRefDesc ClassLoader  classLoader,
ServiceRef  sref,
JonasServiceRef  jsref,
String  filename
throws WSDeploymentDescException
 

Creates a new ServiceRefDesc object.

Parameters:
classLoader web class loader
sref generated object containing service-ref informations.
jsref JOnAS specific service-ref informations.
filename the name of the archive where retrieve WSDL and mapping files
Exceptions:
WSDeploymentDescException if the wsdl file is undefined or if informations in wsdl and handler doesn't match.

Definition at line 141 of file ServiceRefDesc.java.

References org.objectweb.jonas_lib.deployment.xml.AbsJonasParam.getParamName(), org.objectweb.jonas_lib.deployment.xml.AbsJonasParam.getParamValue(), org.objectweb.jonas_lib.deployment.xml.PortComponentRef.getServiceEndpointInterface(), and org.objectweb.jonas_ws.deployment.api.WSDLFile.getServiceQname().

Here is the call graph for this function:


Member Function Documentation

boolean org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals Object  other  ) 
 

Return true if the parameter is a ServiceRefDesc and if it equals this object. Return false else.

Parameters:
other the object to compare
Returns:
true if objects are equals

Definition at line 447 of file ServiceRefDesc.java.

References org.objectweb.jonas_ws.deployment.api.WSDLFile.equals(), org.objectweb.jonas_ws.deployment.api.MappingFile.equals(), org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getHandlerRefs(), org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getMappingFile(), org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getParams(), org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getPortComponentRefs(), and org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getWSDLFile().

Referenced by org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsClientGenerator.generate().

Here is the call graph for this function:

URL org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getAlternateWsdlURL  ) 
 

Returns:
Returns the alternate WSDL URL (may be null).

Definition at line 602 of file ServiceRefDesc.java.

List org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getHandlerRefs  ) 
 

Return the list of Handler.

Returns:
the list of Handler

Definition at line 357 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals(), and org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory.getContext().

I18n org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getI18n  )  [static, protected]
 

Returns:
Returns the i18n.

Definition at line 595 of file ServiceRefDesc.java.

URL org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getLocalWSDLURL  ) 
 

Returns:
Returns the URL where the uptodate WSDL can be found.

Definition at line 609 of file ServiceRefDesc.java.

MappingFile org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getMappingFile  ) 
 

Return the MappingFile object.

Returns:
the MappingFile object.

Definition at line 394 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals(), and org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory.getContext().

URL org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getMappingFileURL  ) 
 

Returns:
Returns the URL where the mapping file can be found.

Definition at line 616 of file ServiceRefDesc.java.

String org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getParam String  name  ) 
 

Return the value of the specified parameter

Parameters:
name the parameter to retrieve
Returns:
the value of the specified parameter

Definition at line 411 of file ServiceRefDesc.java.

Hashtable org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getParams  ) 
 

Return all the params of the ServiceRefDesc as an Hashtable.

Returns:
all the params of the ServiceRefDesc as an Hashtable.

Definition at line 402 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals().

List org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getPortComponentRefs  ) 
 

Return the list of PortComponentRef.

Returns:
the list of PortComponentRef

Definition at line 349 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals(), org.objectweb.jonas_web.deployment.lib.WebDeploymentDescManager.getDeploymentDesc(), and org.objectweb.jonas_client.deployment.lib.ClientDeploymentDescManager.getDeploymentDesc().

Class org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getServiceInterface  ) 
 

Return the Class object representing the service-interface.

Returns:
the Class object representing the service-interface.

Definition at line 373 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsClientGenerator.generate().

QName org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getServiceQName  ) 
 

Return the QName identifying the service in the WSDL. can return null if WSDL not defined.

Returns:
Return the QName identifying the service in the WSDL (can be null).

Definition at line 429 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory.getContext().

String org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getServiceRefName  ) 
 

Return the name used for Service interface lookup.

Returns:
the service-ref-name value

Definition at line 365 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.WebAppModifier.modify(), org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify(), org.objectweb.jonas_ws.wsgen.modifier.ClientModifier.modify(), and org.objectweb.jonas_ejb.container.JContainer.setBeanEnvironment().

WSDLFile org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getWSDLFile  ) 
 

Return the WSDLFile object describing the WebService.

Returns:
the WSDLFile object describing the WebService.

Definition at line 381 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.equals(), and org.objectweb.jonas_ws.wsgen.generator.axis.VContextFactory.getContext().

String org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.getWsdlFileName  ) 
 

Return the name of WSDL inside of the module.

Returns:
the name of WSDL inside of the module

Definition at line 419 of file ServiceRefDesc.java.

Referenced by org.objectweb.jonas_ws.wsgen.generator.ews.EWSWsClientGenerator.generate(), and org.objectweb.jonas_ws.wsgen.generator.axis.AxisWsClientGenerator.generate().

int org.objectweb.jonas_ws.deployment.api.ServiceRefDesc.hashCode  ) 
 

See also:
java.lang.String#hashCode()

Definition at line 438 of file ServiceRefDesc.java.

References org.objectweb.jonas_ws.deployment.api.MappingFile.hashCode().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:13:36 2005 for JOnAS by  doxygen 1.3.9.1