org.jboss.webservice.client
Class ServiceReferenceable

java.lang.Object
  extended byorg.jboss.webservice.client.ServiceReferenceable
All Implemented Interfaces:
javax.naming.Referenceable

public class ServiceReferenceable
extends java.lang.Object
implements javax.naming.Referenceable

A JNDI reference to a javax.xml.rpc.Service

It holds the information to reconstrut the javax.xml.rpc.Service when the client does a JNDI lookup.

Since:
15-April-2004

Field Summary
static java.lang.String DEPLOYMENT_URL
           
static java.lang.String PORT_COMPONENT_LINK
           
static java.lang.String PORT_COMPONENT_LINK_SERVLET
           
static java.lang.String SERVICE_REF_META_DATA
           
 
Constructor Summary
ServiceReferenceable(ServiceRefMetaData (src)  refMetaData, DeploymentInfo (src)  di)
          A service referenceable for a WSDL document that is part of the deployment
 
Method Summary
 javax.naming.Reference getReference()
          Retrieves the Reference of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_REF_META_DATA

public static final java.lang.String SERVICE_REF_META_DATA
See Also:
Constant Field Values (src)

DEPLOYMENT_URL

public static final java.lang.String DEPLOYMENT_URL
See Also:
Constant Field Values (src)

PORT_COMPONENT_LINK

public static final java.lang.String PORT_COMPONENT_LINK
See Also:
Constant Field Values (src)

PORT_COMPONENT_LINK_SERVLET

public static final java.lang.String PORT_COMPONENT_LINK_SERVLET
See Also:
Constant Field Values (src)
Constructor Detail

ServiceReferenceable

public ServiceReferenceable(ServiceRefMetaData (src)  refMetaData,
                            DeploymentInfo (src)  di)
A service referenceable for a WSDL document that is part of the deployment

Parameters:
refMetaData - The service-ref meta data
di - The client DeploymentInfo
Method Detail

getReference

public javax.naming.Reference getReference()
                                    throws javax.naming.NamingException
Retrieves the Reference of this object.

Specified by:
getReference in interface javax.naming.Referenceable
Returns:
The non-null Reference of this object.
Throws:
javax.naming.NamingException - If a naming exception was encountered while retrieving the reference.