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

List of all members.

Static Public Member Functions

PortComponentDesc newInstance (ClassLoader cl, PortComponent pc, JonasPortComponent jpc, ServiceDesc parent) throws WSDeploymentDescException

Detailed Description

Factory used to create appropriate PortComponentDesc.
Choice is made in function of the port-component given as input parameter.
If service-impl-bean has a child called servlet-link, then a JaxRpcPortComponentDesc is created.
If service-impl-bean has a child called ejb-link, then a SSBPortComponentDesc is created.

Definition at line 40 of file PortComponentDescFactory.java.


Member Function Documentation

PortComponentDesc org.objectweb.jonas_ws.deployment.api.PortComponentDescFactory.newInstance ClassLoader  cl,
PortComponent  pc,
JonasPortComponent  jpc,
ServiceDesc  parent
throws WSDeploymentDescException [static]
 

Create a new PortComponentDesc instance.

Parameters:
cl the ClassLoader used to load files (*.wsdl, mapping files, ...).
pc the PortComponent object representing port-component XML element.
jpc the JonasPortComponent object representing jonas-port-component XML element.
parent container ServiceDesc
Returns:
the created PortComponentDesc
Exceptions:
WSDeploymentDescException when instanciation fails.

Definition at line 59 of file PortComponentDescFactory.java.


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