org.apache.wsif.naming
Class WSIFServiceRef
java.lang.Object
|
+--org.apache.wsif.naming.WSIFServiceRef
- All Implemented Interfaces:
- javax.naming.Referenceable
- public class WSIFServiceRef
- extends java.lang.Object
- implements javax.naming.Referenceable
This is a lightweight object which provides a reference for a WSIFService.
When passed to Context.bind(), the getReference() method is invoked and the
resulting Reference object is stored in the directory by JNDI.
- Author:
- Owen Burroughs
Constructor Summary |
WSIFServiceRef(java.lang.String wsdl,
java.lang.String sNS,
java.lang.String sName,
java.lang.String ptNS,
java.lang.String ptName)
Constructor that takes all necessary information needed to create a
WSIFService. |
Method Summary |
java.lang.String |
deep()
|
javax.naming.Reference |
getReference()
Method to create and return a Reference object for the service. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSIFServiceRef
public WSIFServiceRef(java.lang.String wsdl,
java.lang.String sNS,
java.lang.String sName,
java.lang.String ptNS,
java.lang.String ptName)
- Constructor that takes all necessary information needed to create a
WSIFService.
- Parameters:
wsdl
- The location of the wsdl filesNS
- The namespace for the service as specified in the wsdlsName
- The name of the service required, as specified in the wsdlptNS
- The namespace of the port type required, as specified in the wsdlptName
- The name of the port type required, as specified in the wsdl
getReference
public javax.naming.Reference getReference()
throws javax.naming.NamingException
- Method to create and return a Reference object for the service.
- Specified by:
getReference
in interface javax.naming.Referenceable
- Returns:
- A Reference object containing the information required to create a
WSIFService and return it, when a lookup is performed on the service using
JNDI.
deep
public java.lang.String deep()
Copyright © 2002, 2002 Apache XML Project. All Rights Reserved.