public class ServiceImpl extends Object implements ServiceExt, Serializable, Externalizable
| Constructor and Description |
|---|
ServiceImpl() |
ServiceImpl(QName serviceName)
Construct a Service without WSDL meta data
|
ServiceImpl(QName serviceName,
URL wsdlURL,
JavaWsdlMapping mappingURL,
org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData usrMetaData)
Construct a Service that has access to some WSDL meta data
|
ServiceImpl(QName serviceName,
URL wsdlURL,
URL mappingURL,
URL securityURL)
Construct a Service that has access to some WSDL meta data
|
| Modifier and Type | Method and Description |
|---|---|
javax.xml.rpc.Call |
createCall()
Creates a Call object not associated with specific operation or target
service endpoint.
|
javax.xml.rpc.Call |
createCall(QName portName)
Creates a Call instance.
|
javax.xml.rpc.Call |
createCall(QName portName,
QName opName)
Creates a Call instance.
|
javax.xml.rpc.Call |
createCall(QName portName,
String operationName)
Creates a Call instance.
|
javax.xml.rpc.Call[] |
getCalls(QName portName)
Gets an array of preconfigured Call objects for invoking operations on
the specified port.
|
javax.xml.rpc.handler.HandlerRegistry |
getDynamicHandlerRegistry()
Get a HandlerRegistry that can be used to dynamically change the client
side handler chain associated with a given endpoint.
|
javax.xml.rpc.handler.HandlerChain |
getHandlerChain(QName portName)
Get the handler chain for the given endpoint name, maybe null.
|
javax.xml.rpc.handler.HandlerRegistry |
getHandlerRegistry()
J2EE components should not use the getHandlerRegistry() method.
|
Remote |
getPort(Class seiClass)
The getPort method returns either an instance of a generated stub
implementation class or a dynamic proxy.
|
Remote |
getPort(QName portName,
Class seiClass)
The getPort method returns either an instance of a generated stub
implementation class or a dynamic proxy.
|
Iterator |
getPorts()
Returns an Iterator for the list of QNames of service endpoints grouped
by this service
|
ServiceMetaData |
getServiceMetaData() |
QName |
getServiceName()
Gets the name of this service.
|
javax.xml.rpc.encoding.TypeMappingRegistry |
getTypeMappingRegistry()
J2EE components should not use the getTypeMappingRegistry() method.
|
URL |
getWSDLDocumentLocation()
Gets the location of the WSDL document for this Service.
|
void |
readExternal(ObjectInput in) |
void |
registerHandlerChain(QName portName,
List infos,
Set roles)
Register a handler chain for the given endpoint name
|
void |
setupHandlerChain(EndpointMetaData epMetaData) |
void |
writeExternal(ObjectOutput out) |
public ServiceImpl()
public ServiceImpl(QName serviceName)
public ServiceImpl(QName serviceName, URL wsdlURL, URL mappingURL, URL securityURL)
public ServiceImpl(QName serviceName, URL wsdlURL, JavaWsdlMapping mappingURL, org.jboss.wsf.spi.metadata.j2ee.serviceref.UnifiedServiceRefMetaData usrMetaData)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic ServiceMetaData getServiceMetaData()
public URL getWSDLDocumentLocation()
getWSDLDocumentLocation in interface javax.xml.rpc.Servicepublic QName getServiceName()
getServiceName in interface javax.xml.rpc.Servicepublic javax.xml.rpc.Call createCall(QName portName) throws javax.xml.rpc.ServiceException
createCall in interface javax.xml.rpc.ServiceportName - Qualified name for the target service endpointjavax.xml.rpc.ServiceException - If any error in the creation of the Call objectpublic javax.xml.rpc.Call createCall(QName portName, String operationName) throws javax.xml.rpc.ServiceException
createCall in interface javax.xml.rpc.ServiceportName - Qualified name for the target service endpointoperationName - Name of the operation for which this Call object is to be
created.javax.xml.rpc.ServiceException - If any error in the creation of the Call objectpublic javax.xml.rpc.Call createCall(QName portName, QName opName) throws javax.xml.rpc.ServiceException
createCall in interface javax.xml.rpc.ServiceportName - Qualified name for the target service endpointopName - Qualified name of the operation for which this Call object is
to be created.javax.xml.rpc.ServiceException - If any error in the creation of the Call objectpublic javax.xml.rpc.Call createCall() throws javax.xml.rpc.ServiceException
createCall in interface javax.xml.rpc.Servicejavax.xml.rpc.ServiceException - If any error in the creation of the Call objectpublic javax.xml.rpc.Call[] getCalls(QName portName) throws javax.xml.rpc.ServiceException
getCalls in interface javax.xml.rpc.ServiceportName - Qualified name for the target service endpointjavax.xml.rpc.ServiceException - If this Service class does not have access to the required
WSDL metadata or if an illegal endpointName is specified.public javax.xml.rpc.handler.HandlerRegistry getHandlerRegistry()
getHandlerRegistry in interface javax.xml.rpc.Servicepublic javax.xml.rpc.handler.HandlerRegistry getDynamicHandlerRegistry()
getDynamicHandlerRegistry in interface ServiceExtpublic javax.xml.rpc.encoding.TypeMappingRegistry getTypeMappingRegistry()
getTypeMappingRegistry in interface javax.xml.rpc.Servicepublic Iterator getPorts() throws javax.xml.rpc.ServiceException
getPorts in interface javax.xml.rpc.Servicejavax.xml.rpc.ServiceException - If this Service class does not have access to the required
WSDL metadatapublic Remote getPort(Class seiClass) throws javax.xml.rpc.ServiceException
getPort in interface javax.xml.rpc.Servicejavax.xml.rpc.ServiceExceptionpublic Remote getPort(QName portName, Class seiClass) throws javax.xml.rpc.ServiceException
getPort in interface javax.xml.rpc.Servicejavax.xml.rpc.ServiceExceptionpublic javax.xml.rpc.handler.HandlerChain getHandlerChain(QName portName)
public void registerHandlerChain(QName portName, List infos, Set roles)
public void setupHandlerChain(EndpointMetaData epMetaData)
Copyright © 2013 JBoss, by Red Hat. All Rights Reserved.