org.ow2.jonas.deployment.ws
Class SSBPortComponentDesc

java.lang.Object
  extended by org.ow2.jonas.deployment.ws.PortComponentDesc
      extended by org.ow2.jonas.deployment.ws.SSBPortComponentDesc

public class SSBPortComponentDesc
extends PortComponentDesc

PortComponentDesc specialization for Session Bean exposed as WebServices.

Author:
Guillaume Sauthier

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(Object desc)
          Setter method for J2EE component linking.
 void setSessionStatelessDesc(SessionStatelessDesc bean)
          Set the beanDesc for this endpoint.
 String toString()
           
 
Methods inherited from class org.ow2.jonas.deployment.ws.PortComponentDesc
getEndpointURI, getEndpointURL, getHandlers, getI18n, getMapping, getName, getQName, getServiceDesc, getServiceEndpointInterface, getServiceName, getSib, getSIBClassname, getSibLink, setEndpointURL, setSib, setSIBClassname, setSibLink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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(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 String toString()
Overrides:
toString in class PortComponentDesc
Returns:
Returns a String representation of this SSBPortComponentDesc


Copyright © 2010 OW2 Consortium. All Rights Reserved.