Top Description Fields Constructors Methods
org.apache.naming

public Class ServiceRef

extends AbstractRef
Class Inheritance
Imports
java.util.List, java.util.concurrent.CopyOnWriteArrayList, javax.naming.StringRefAddr

Represents a reference web service.
Author
Fabien Carrion

Field Summary

Modifier and TypeField and Description
public static final String
DEFAULT_FACTORY

Default factory for this reference.

private final List<HandlerRef>
handlers

The list to save the handler Reference objects, because they can't be saved in the addrs vector.

public static final String
JAXRPCMAPPING

Jaxrpcmapping address type.

public static final String
PORTCOMPONENTLINK

port-component-ref/port-component-link address type.

private static final long
public static final String
SERVICE_INTERFACE

Service Classname address type.

public static final String
public static final String
SERVICE_NAMESPACE

ServiceQname address type.

public static final String
SERVICEENDPOINTINTERFACE

port-component-ref/service-endpoint-interface address type.

public static final String
WSDL

Wsdl Location address type.

Constructor Summary

AccessConstructor and Description
public
ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping)

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

Method Summary

Modifier and TypeMethod and Description
public void
protected String
public HandlerRef

Returns:

the handler
getHandler
()

Add and Get Handlers classes.

public int
Inherited from org.apache.naming.AbstractRef:
getFactoryClassNametoString

Field Detail

DEFAULT_FACTORYback to summary
public static final String DEFAULT_FACTORY

Default factory for this reference.

handlersback to summary
private final List<HandlerRef> handlers

The list to save the handler Reference objects, because they can't be saved in the addrs vector.

JAXRPCMAPPINGback to summary
public static final String JAXRPCMAPPING

Jaxrpcmapping address type.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.apache.naming.AbstractRef.serialVersionUID.

SERVICE_INTERFACEback to summary
public static final String SERVICE_INTERFACE

Service Classname address type.

SERVICE_LOCAL_PARTback to summary
public static final String SERVICE_LOCAL_PART
SERVICE_NAMESPACEback to summary
public static final String SERVICE_NAMESPACE

ServiceQname address type.

SERVICEENDPOINTINTERFACEback to summary
public static final String SERVICEENDPOINTINTERFACE

port-component-ref/service-endpoint-interface address type.

WSDLback to summary
public static final String WSDL

Wsdl Location address type.

Constructor Detail

ServiceRefback to summary
public ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping)
ServiceRefback to summary
public ServiceRef(String refname, String serviceInterface, String[] serviceQname, String wsdl, String jaxrpcmapping, String factory, String factoryLocation)

Method Detail

addHandlerback to summary
public void addHandler(HandlerRef handler)
getDefaultFactoryClassNameback to summary
protected String getDefaultFactoryClassName()

Implements abstract org.apache.naming.AbstractRef.getDefaultFactoryClassName.

Annotations
@Override
getHandlerback to summary
public HandlerRef getHandler()

Add and Get Handlers classes.

Returns:HandlerRef

the handler

getHandlersSizeback to summary
public int getHandlersSize()