IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.services.ws.jaxrpc
Class JaxRpcConnectorInfrastructure

java.lang.Object
  extended by com.ibm.btt.base.DSENotifier
      extended by com.ibm.btt.base.Service
          extended by com.ibm.btt.services.ws.jaxrpc.JaxRpcConnectorInfrastructure
All Implemented Interfaces:
Notifier, WSConnector, java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
JaxRpcClientMediator

public abstract class JaxRpcConnectorInfrastructure
extends Service
implements WSConnector

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.btt.base.Service
externalizer, name
 
Fields inherited from class com.ibm.btt.base.DSENotifier
handlersList
 
Constructor Summary
JaxRpcConnectorInfrastructure()
           
 
Method Summary
 javax.xml.rpc.Service createJaxRpcService()
          Creates Service instance from ServiceFactory.
protected  javax.xml.rpc.Service createService(javax.xml.rpc.ServiceFactory serviceFactory)
          Performs creating Service instance from ServiceFactory.
protected  javax.xml.rpc.ServiceFactory createServiceFactory()
           
abstract  Context getContext()
          Returns the value of the context property.
 java.lang.String getEndpointAddress()
          Returns the value of the endpoint address property.
 java.lang.Class<?> getJaxRpcServiceInterface()
           
 java.util.List<JaxRpcServiceProcessor> getJaxRpcServiceProcessors()
           
 java.util.Properties getJaxRpcServiceProperties()
           
 java.lang.String getNamespaceUri()
          Returns the value of the port namespace uri property.
 java.lang.String getPassword()
          Returns the value of the password property.
 java.lang.String getPortName()
          Returns the value of the service name property.
protected  javax.xml.namespace.QName getQName(java.lang.String name)
          Returns the QName for service.
 javax.xml.rpc.ServiceFactory getServiceFactory()
          Returns the service factory which will be used for create service.
 java.lang.Class<?> getServiceFactoryClass()
          Returns the service factory class which will be used for create service.
 java.lang.String getServiceName()
          Returns the value of the service name property.
 java.lang.String getUsername()
          Returns the value of the user name property.
 java.net.URL getWsdlUrl()
          Returns the WSDL document location property.
 boolean isMaintainSession()
           
protected  void processJaxRpcService(javax.xml.rpc.Service service)
          Process the given JAX-RPC Service.
abstract  void setContext(Context aContext)
          Sets the value of the context property.
 void setEndpointAddress(java.lang.String endpointAddress)
          Sets the value of the endpoint address property.
 void setJaxRpcServiceInterface(java.lang.Class<?> jaxRpcServiceInterface)
           
 void setJaxRpcServiceProcessors(java.util.List<JaxRpcServiceProcessor> jaxRpcServiceProcessors)
           
 void setJaxRpcServiceProperties(java.util.Properties jaxRpcServiceProperties)
           
 void setMaintainSession(boolean maintainSession)
           
 void setNamespaceUri(java.lang.String namespaceUri)
          Sets the value of the port namespace uri property.
 void setPassword(java.lang.String password)
          Sets the value of the password property.
 void setPortName(java.lang.String portName)
          Sets the value of the port name property.
 void setServiceFactory(javax.xml.rpc.ServiceFactory serviceFactory)
          Sets the value of the service factory property.
 void setServiceFactoryClass(java.lang.Class<?> serviceFactoryClass)
          Sets the value of the service factory property.
 void setServiceName(java.lang.String serviceName)
          Sets the value of the service name property.
 void setUsername(java.lang.String username)
          Sets the value of the user name property.
 void setWsdlUrl(java.net.URL wsdlUrl)
          Sets the value of the WSDL document location property.
 
Methods inherited from class com.ibm.btt.base.Service
externalizer, getExternalizer, getTagName, initializeFrom, readExternal, readExternal, readObject, removeExternal, setExternalizer, terminate, toString, toStrings, toTags, writeExternal, writeExternal
 
Methods inherited from class com.ibm.btt.base.DSENotifier
addHandler, getHandlersList, getName, removeHandler, setName, signalEvent, signalEvent, signalEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.btt.base.ws.WSConnector
execute, getProxy, reset
 
Methods inherited from interface com.ibm.btt.base.Externalizable
getName, setName
 

Constructor Detail

JaxRpcConnectorInfrastructure

public JaxRpcConnectorInfrastructure()
Method Detail

setServiceFactory

public void setServiceFactory(javax.xml.rpc.ServiceFactory serviceFactory)
Sets the value of the service factory property.

Parameters:
serviceFactory - javax.xml.rpc.ServiceFactory

getServiceFactory

public javax.xml.rpc.ServiceFactory getServiceFactory()
Returns the service factory which will be used for create service.

Returns:
javax.xml.rpc.ServiceFactory

setServiceFactoryClass

public void setServiceFactoryClass(java.lang.Class<?> serviceFactoryClass)
Sets the value of the service factory property.

Parameters:
serviceFactoryClass - java.lang.Class

getServiceFactoryClass

public java.lang.Class<?> getServiceFactoryClass()
Returns the service factory class which will be used for create service.

Returns:
java.lang.Class

setWsdlUrl

public void setWsdlUrl(java.net.URL wsdlUrl)
Sets the value of the WSDL document location property.

Parameters:
wsdlUrl - java.net.URL

getWsdlUrl

public java.net.URL getWsdlUrl()
Returns the WSDL document location property.

Returns:
java.net.URL

setNamespaceUri

public void setNamespaceUri(java.lang.String namespaceUri)
Sets the value of the port namespace uri property.

Parameters:
namespaceUri - java.lang.String

getNamespaceUri

public java.lang.String getNamespaceUri()
Returns the value of the port namespace uri property.

Returns:
java.lang.String

setServiceName

public void setServiceName(java.lang.String serviceName)
Sets the value of the service name property.

Parameters:
serviceName - java.lang.String

getServiceName

public java.lang.String getServiceName()
Returns the value of the service name property.

Returns:
java.lang.String

setPortName

public void setPortName(java.lang.String portName)
Sets the value of the port name property.

Parameters:
portName - java.lang.String

getPortName

public java.lang.String getPortName()
Returns the value of the service name property.

Returns:
java.lang.String

getUsername

public java.lang.String getUsername()
Returns the value of the user name property.

Returns:
java.lang.String

setUsername

public void setUsername(java.lang.String username)
Sets the value of the user name property.

Parameters:
username - java.lang.String

getPassword

public java.lang.String getPassword()
Returns the value of the password property.

Returns:
java.lang.String

setPassword

public void setPassword(java.lang.String password)
Sets the value of the password property.

Parameters:
username - java.lang.String

getEndpointAddress

public java.lang.String getEndpointAddress()
Returns the value of the endpoint address property.

Returns:
java.lang.String

setEndpointAddress

public void setEndpointAddress(java.lang.String endpointAddress)
Sets the value of the endpoint address property.

Parameters:
endpointAddress - java.lang.String
Throws:
DSEObjectNotFoundException

isMaintainSession

public boolean isMaintainSession()
Returns:
the maintainSession

setMaintainSession

public void setMaintainSession(boolean maintainSession)
Parameters:
maintainSession - the maintainSession to set

setJaxRpcServiceInterface

public void setJaxRpcServiceInterface(java.lang.Class<?> jaxRpcServiceInterface)
Parameters:
jaxRpcServiceInterface - the jaxRpcServiceInterface to set

getJaxRpcServiceInterface

public java.lang.Class<?> getJaxRpcServiceInterface()
Returns:
the jaxRpcServiceInterface

setJaxRpcServiceProperties

public void setJaxRpcServiceProperties(java.util.Properties jaxRpcServiceProperties)
Parameters:
jaxRpcServiceProperties - the jaxRpcServiceProperties to set

getJaxRpcServiceProperties

public java.util.Properties getJaxRpcServiceProperties()
Returns:
the jaxRpcServiceProperties

getJaxRpcServiceProcessors

public java.util.List<JaxRpcServiceProcessor> getJaxRpcServiceProcessors()
Returns:
the jaxRpcServiceProcessors

setJaxRpcServiceProcessors

public void setJaxRpcServiceProcessors(java.util.List<JaxRpcServiceProcessor> jaxRpcServiceProcessors)
Parameters:
jaxRpcServiceProcessors - the jaxRpcServiceProcessors to set

createJaxRpcService

public javax.xml.rpc.Service createJaxRpcService()
                                          throws javax.xml.rpc.ServiceException
Creates Service instance from ServiceFactory.

Throws:
javax.xml.rpc.ServiceException
See Also:
ServiceFactory, Service

getQName

protected javax.xml.namespace.QName getQName(java.lang.String name)
Returns the QName for service.

Parameters:
name - java.lang.String

createServiceFactory

protected javax.xml.rpc.ServiceFactory createServiceFactory()
                                                     throws javax.xml.rpc.ServiceException
Throws:
javax.xml.rpc.ServiceException

createService

protected javax.xml.rpc.Service createService(javax.xml.rpc.ServiceFactory serviceFactory)
                                       throws javax.xml.rpc.ServiceException
Performs creating Service instance from ServiceFactory.

Throws:
javax.xml.rpc.ServiceException
See Also:
ServiceFactory, Service

processJaxRpcService

protected void processJaxRpcService(javax.xml.rpc.Service service)
Process the given JAX-RPC Service. To register the custom SOAP handlers.

The default implementation delegates to all registered JaxRpcServiceProcessor.

Each JaxRpcServiceProcessor has a Context from which registered SOAP handlers can retrieve information. Context.

Parameters:
service - the current JAX-RPC Service (can be cast to an implementation-specific class if necessary)
See Also:
setJaxRpcServiceProcessors(java.util.List), Service.getTypeMappingRegistry()

setContext

public abstract void setContext(Context aContext)
Description copied from interface: WSConnector
Sets the value of the context property.

Specified by:
setContext in interface WSConnector
Parameters:
aContext - com.ibm.btt.base.Context

getContext

public abstract Context getContext()
Description copied from interface: WSConnector
Returns the value of the context property.

Specified by:
getContext in interface WSConnector
Returns:
java.lang.String

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011