org.objectweb.jonas_ws.deployment.api
Class SSBPortComponentDesc

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

public class SSBPortComponentDesc
extends PortComponentDesc

PortComponentDesc specialization for Session Bean exposed as WebServices.

Author:
Guillaume Sauthier

Constructor Summary
SSBPortComponentDesc(java.lang.ClassLoader cl, PortComponent pc, ServiceDesc parent)
          Constructs a new SSBPortComponentDesc.
 
Method Summary
 SessionStatelessDesc getSessionStatelessDesc()
          Return the SessionStatelessDesc 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 setSessionStatelessDesc(SessionStatelessDesc bean)
          Set the beanDesc 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

SSBPortComponentDesc

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

Parameters:
cl - module ClassLoader
pc - XML Element port-component
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.

getSessionStatelessDesc

public SessionStatelessDesc getSessionStatelessDesc()
Return the SessionStatelessDesc object linked with this portComponentDesc.

Returns:
the SessionStatelessDesc object linked with this portComponentDesc.

setSessionStatelessDesc

public void setSessionStatelessDesc(SessionStatelessDesc bean)
Set the beanDesc for this endpoint.

Parameters:
bean - The SSB Object declaring the 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 this SSBPortComponentDesc