|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ws.deployment.api.ServiceRef
A ServiceRef describe a dependancy from a J2EE component onto a WebService (it is a Web Service Client). The component will have the hability to lookup the Service Implementation and use it.
Field Summary | |
static java.lang.String |
SERVICE_CLASS_NAME
jonas-init-param property name for service implementation. |
Constructor Summary | |
ServiceRef(java.lang.ClassLoader classLoader,
org.objectweb.jonas_ejb.deployment.xml.ServiceRef sref,
org.objectweb.jonas_ejb.deployment.xml.JonasServiceRef jsref,
java.lang.String filename)
Creates a new ServiceRef object. |
|
ServiceRef(java.lang.ClassLoader classLoader,
org.objectweb.jonas_web.deployment.xml.ServiceRef sref,
org.objectweb.jonas_web.deployment.xml.JonasServiceRef jsref,
java.lang.String filename)
Creates a new ServiceRef object. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Return true if the parameter is a ServiceRef and if it
equals this object. |
java.util.List |
getHandlerRefs()
Return the list of Handler. |
java.lang.String |
getJndiName()
Return the serviceRef jndi name |
MappingFile |
getMappingFile()
Return the MappingFile object. |
java.lang.String |
getParam(java.lang.String name)
Return the value of the specified parameter |
java.util.Hashtable |
getParams()
Return all the params of the ServiceRef as an Hashtable. |
java.util.List |
getPortComponentRefs()
Return the list of PortComponentRef. |
java.lang.Class |
getServiceClass()
Return the implementaion class of the Service Interface. |
java.lang.Class |
getServiceInterface()
Return the Class object representing the service-interface. |
javax.xml.namespace.QName |
getServiceQName()
Return the QName identifying the service in the WSDL. |
java.lang.String |
getServiceRefName()
Return the name used for Service interface lookup. |
WSDLFile |
getWSDLFile()
Return the WSDLFile object describing the WebService. |
java.lang.String |
getWsdlFileName()
Return the name of WSDL inside of the module. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String SERVICE_CLASS_NAME
Constructor Detail |
public ServiceRef(java.lang.ClassLoader classLoader, org.objectweb.jonas_ejb.deployment.xml.ServiceRef sref, org.objectweb.jonas_ejb.deployment.xml.JonasServiceRef jsref, java.lang.String filename) throws WSDeploymentDescException
classLoader
- ejb class loadersref
- generated object containing service-ref informations.jsref
- JOnAS specific service-ref informations.filename
- the name of the archive where retrieve WSDL and mapping
files
WSDeploymentDescException
- if the wsdl file is undefined or if
informations in wsdl and handler doesn't match.public ServiceRef(java.lang.ClassLoader classLoader, org.objectweb.jonas_web.deployment.xml.ServiceRef sref, org.objectweb.jonas_web.deployment.xml.JonasServiceRef jsref, java.lang.String filename) throws WSDeploymentDescException
classLoader
- web class loadersref
- generated object containing service-ref informations.jsref
- JOnAS specific service-ref informations.filename
- the name of the archive where retrieve WSDL and mapping
files
WSDeploymentDescException
- if the wsdl file is undefined or if
informations in wsdl and handler doesn't match.Method Detail |
public java.util.List getPortComponentRefs()
public java.util.List getHandlerRefs()
public java.lang.String getServiceRefName()
public java.lang.Class getServiceInterface()
public WSDLFile getWSDLFile()
public MappingFile getMappingFile()
public java.lang.Class getServiceClass()
public java.util.Hashtable getParams()
public java.lang.String getParam(java.lang.String name)
name
- the parameter to retrieve
public java.lang.String getJndiName()
public java.lang.String getWsdlFileName()
public javax.xml.namespace.QName getServiceQName()
public boolean equals(java.lang.Object other)
true
if the parameter is a ServiceRef and if it
equals this object. Return false
else.
other
- the object to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |