org.ow2.jonas.deployment.ws
Class PortComponentRefDesc

java.lang.Object
  extended by org.ow2.jonas.deployment.ws.PortComponentRefDesc

public class PortComponentRefDesc
extends Object

The PortComponentRefDesc associate a service-endpoint-interface with a port-component in the same application unit.

Author:
Guillaume Sauthier, Xavier Delplanque

Constructor Summary
PortComponentRefDesc(ClassLoader classLoader, PortComponentRef pcr, JonasPortComponentRef jpcr)
          Creates a new PortComponentRefDesc object.
 
Method Summary
 boolean equals(Object other)
          Return true if the 2 objects are equals in value.
 Properties getCallProperties()
           
protected static I18n getI18n()
           
 PortComponentDesc getPortComponentDesc()
          Return the linked port component desc (can be null if no pcLink).
 String getPortComponentLink()
          Return the port Component Link Object.
 Class getSEI()
          Return the Service Endpoint Interface of the Port Component.
 Properties getStubProperties()
           
 QName getWsdlPort()
           
 int hashCode()
           
 void setPortComponentDesc(PortComponentDesc pcd)
          Set the pcLink port component desc
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortComponentRefDesc

public PortComponentRefDesc(ClassLoader classLoader,
                            PortComponentRef pcr,
                            JonasPortComponentRef jpcr)
                     throws WSDeploymentDescException
Creates a new PortComponentRefDesc object.

Parameters:
classLoader - module class loader (web or ejb)
pcr - port component ref generate by Zeus, defined in web deployment desc
jpcr - jonas port component ref generate by Zeus, defined in web deployment desc
Throws:
WSDeploymentDescException - if service endpoint class doesn't exist
Method Detail

getPortComponentLink

public String getPortComponentLink()
Return the port Component Link Object. May be null if not defined

Returns:
the port Component Link Object.

setPortComponentDesc

public void setPortComponentDesc(PortComponentDesc pcd)
Set the pcLink port component desc

Parameters:
pcd - the portComponentDesc linked with this PortcompRef.

getPortComponentDesc

public PortComponentDesc getPortComponentDesc()
Return the linked port component desc (can be null if no pcLink).

Returns:
the linked port component desc. (null if no pcLink)

getSEI

public Class getSEI()
Return the Service Endpoint Interface of the Port Component.

Returns:
the Service Endpoint Interface of the Port Component.

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
String.hashCode()

equals

public boolean equals(Object other)
Return true if the 2 objects are equals in value.

Overrides:
equals in class Object
Parameters:
other - the object to compare.
Returns:
true if the 2 objects are equals in value, else false.

getI18n

protected static I18n getI18n()
Returns:
Returns the i18n.

getCallProperties

public Properties getCallProperties()
Returns:
Returns the callProperties.

getStubProperties

public Properties getStubProperties()
Returns:
Returns the stubProperties.

getWsdlPort

public QName getWsdlPort()
Returns:
Returns the wsdlPort.


Copyright © 2010 OW2 Consortium. All Rights Reserved.