org.objectweb.jonas_ws.deployment.api
Class JaxRpcPortComponentDesc

java.lang.Object
  extended byorg.objectweb.jonas_ws.deployment.api.PortComponentDesc
      extended byorg.objectweb.jonas_ws.deployment.api.JaxRpcPortComponentDesc

public class JaxRpcPortComponentDesc
extends PortComponentDesc

PortComponent using JaxRpc class.

Author:
Guillaume Sauthier

Constructor Summary
JaxRpcPortComponentDesc(java.lang.ClassLoader cl, PortComponent pc, ServiceDesc parent)
          Constructs a JaxRpcPortComponentDesc
 
Method Summary
 WebContainerDeploymentDesc getWebDesc()
          Return the WebContainerDeploymentDesc object linked with this portComponentDesc
 boolean hasBeanImpl()
          Return true if the Service Impl Bean is an EJB.
 boolean hasJaxRpcImpl()
          Return true if the Service Impl Bean is a JaxRpc component.
 void setDesc(java.lang.Object desc)
          Setter method for J2EE component linking.
 void setWebDesc(WebContainerDeploymentDesc web)
          Set the webDesc for this endpoint.
 java.lang.String toString()
           
 
Methods inherited from class org.objectweb.jonas_ws.deployment.api.PortComponentDesc
getEndpointURL, getHandlers, getName, getQName, getServiceDesc, getServiceEndpointInterface, getSib, getSIBClassname, getSibLink, setEndpointURL, setSib, setSIBClassname, setSibLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JaxRpcPortComponentDesc

public JaxRpcPortComponentDesc(java.lang.ClassLoader cl,
                               PortComponent pc,
                               ServiceDesc parent)
                        throws WSDeploymentDescException
Constructs a JaxRpcPortComponentDesc

Parameters:
cl - ClassLoader of the module containing PortComponent
pc - XML Element of the PortComponent ()
parent - ServiceDesc containing the PortComponent
Throws:
WSDeploymentDescException - When call to PortComponentDesc constructor fails.
Method Detail

hasBeanImpl

public boolean hasBeanImpl()
Return true if the Service Impl Bean is an EJB.

Specified by:
hasBeanImpl in class PortComponentDesc
Returns:
true if the Service Impl Bean is an EJB.

hasJaxRpcImpl

public boolean hasJaxRpcImpl()
Return true if the Service Impl Bean is a JaxRpc component.

Specified by:
hasJaxRpcImpl in class PortComponentDesc
Returns:
true if the Service Impl Bean is a JaxRpc component.

getWebDesc

public WebContainerDeploymentDesc getWebDesc()
Return the WebContainerDeploymentDesc object linked with this portComponentDesc

Returns:
the WebContainerDeploymentDesc object linked with this portComponentDesc

setWebDesc

public void setWebDesc(WebContainerDeploymentDesc web)
Set the webDesc for this endpoint.

Parameters:
web - The web DD declaring the JaxRpc Endpoint.

setDesc

public void setDesc(java.lang.Object desc)
             throws WSDeploymentDescException
Setter method for J2EE component linking.

Specified by:
setDesc in class PortComponentDesc
Parameters:
desc - the descriptor of the component implementing the endpoint.
Throws:
WSDeploymentDescException - when desc is an unknown type.

toString

public java.lang.String toString()
Overrides:
toString in class PortComponentDesc
Returns:
Returns a String representation of the JaxRpcPortComponentDesc