org.objectweb.jonas_ws.deployment.api
Class PortComponentRef

java.lang.Object
  extended byorg.objectweb.jonas_ws.deployment.api.PortComponentRef

public class PortComponentRef
extends java.lang.Object

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

Author:
Guillaume Sauthier, Xavier Delplanque

Constructor Summary
PortComponentRef(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.PortComponentRef pcr)
          Creates a new PortComponentRef object.
PortComponentRef(java.lang.ClassLoader classLoader, org.objectweb.jonas_web.deployment.xml.PortComponentRef pcr)
          Creates a new PortComponentRef object.
 
Method Summary
 boolean equals(java.lang.Object other)
          Return true if the 2 objects are equals in value.
 PortComponentDesc getPortComponentDesc()
          Return the linked port component desc (can be null if no pcLink).
 java.lang.String getPortComponentLink()
          Return the port Component Link Object.
 java.lang.Class getSEI()
          Return the Service Endpoint Interface of the Port Component.
 void setPortComponentDesc(PortComponentDesc pcd)
          Set the pcLink port component desc
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortComponentRef

public PortComponentRef(java.lang.ClassLoader classLoader,
                        org.objectweb.jonas_ejb.deployment.xml.PortComponentRef pcr)
                 throws WSDeploymentDescException
Creates a new PortComponentRef object.

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

PortComponentRef

public PortComponentRef(java.lang.ClassLoader classLoader,
                        org.objectweb.jonas_web.deployment.xml.PortComponentRef pcr)
                 throws WSDeploymentDescException
Creates a new PortComponentRef object.

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

getPortComponentLink

public java.lang.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 java.lang.Class getSEI()
Return the Service Endpoint Interface of the Port Component.

Returns:
the Service Endpoint Interface of the Port Component.

equals

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

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