org.apache.naming

Class ServiceRef

public class ServiceRef extends Reference

Represents a reference web service.

Author: Fabien Carrion

Field Summary
static StringDEFAULT_FACTORY
Default factory for this reference.
static StringJAXRPCMAPPING
Jaxrpcmapping address type.
static StringPORTCOMPONENTLINK
port-component-ref/port-component-link address type.
static StringSERVICEENDPOINTINTERFACE
port-component-ref/service-endpoint-interface address type.
static StringSERVICE_INTERFACE
Service Classname address type.
static StringSERVICE_LOCAL_PART
static StringSERVICE_NAMESPACE
ServiceQname address type.
static StringWSDL
Wsdl Location address type.
Constructor Summary
ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping)
Service Reference.
ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping, String factory, String factoryLocation)
Service Reference.
Method Summary
voidaddHandler(HandlerRef handler)
StringgetFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.
HandlerRefgetHandler()
Add and Get Handlers classes.
intgetHandlersSize()
StringtoString()
Return a String rendering of this object.

Field Detail

DEFAULT_FACTORY

public static final String DEFAULT_FACTORY
Default factory for this reference.

JAXRPCMAPPING

public static final String JAXRPCMAPPING
Jaxrpcmapping address type.

PORTCOMPONENTLINK

public static final String PORTCOMPONENTLINK
port-component-ref/port-component-link address type.

SERVICEENDPOINTINTERFACE

public static final String SERVICEENDPOINTINTERFACE
port-component-ref/service-endpoint-interface address type.

SERVICE_INTERFACE

public static final String SERVICE_INTERFACE
Service Classname address type.

SERVICE_LOCAL_PART

public static final String SERVICE_LOCAL_PART

SERVICE_NAMESPACE

public static final String SERVICE_NAMESPACE
ServiceQname address type.

WSDL

public static final String WSDL
Wsdl Location address type.

Constructor Detail

ServiceRef

public ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping)
Service Reference.

Parameters: serviceClass Service class

ServiceRef

public ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping, String factory, String factoryLocation)
Service Reference.

Parameters: serviceClass Service class

Method Detail

addHandler

public void addHandler(HandlerRef handler)

getFactoryClassName

public String getFactoryClassName()
Retrieves the class name of the factory of the object to which this reference refers.

getHandler

public HandlerRef getHandler()
Add and Get Handlers classes.

getHandlersSize

public int getHandlersSize()

toString

public String toString()
Return a String rendering of this object.
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.