cgl.narada.wsinfra.deployment.impl
Class NBNetworkSubstrate

java.lang.Object
  extended bycgl.narada.wsinfra.deployment.impl.NBNetworkSubstrate
All Implemented Interfaces:
cgl.narada.protocol.Handler, NetworkSubstrate

public class NBNetworkSubstrate
extends Object
implements cgl.narada.protocol.Handler, NetworkSubstrate

This class provides an implementation of the Network Substrate interface based on communications provided by the NB substrate.


Constructor Summary
NBNetworkSubstrate()
           
 
Method Summary
 void configureNetworking(Properties props)
          Configure the networking related properties associated with the substrate.
 String createLinkTo(Properties props, String linkType)
          Create a network connection to a specific host based on the specified properties and communications type.
 void handleData(cgl.narada.protocol.DataReceived dataReceived)
           
 boolean isClient()
          This method indicates that the node in question is a client
 void loadCommunicationsOfType(Properties commProps, String commType)
          Load communication libraries for a specific transport based on the specified properties.
 void registerPipeline(FilterPipeline filterPipeline)
          Register the filter pipeline with the substrate.
 void routeMessage(SOAPMessage soapMessage)
          Route the SOAPMessage based on the contents of the [wsa:To] element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NBNetworkSubstrate

public NBNetworkSubstrate()
Method Detail

registerPipeline

public void registerPipeline(FilterPipeline filterPipeline)
                      throws DeploymentException
Register the filter pipeline with the substrate.

Specified by:
registerPipeline in interface NetworkSubstrate
Throws:
DeploymentException

configureNetworking

public void configureNetworking(Properties props)
                         throws DeploymentException
Configure the networking related properties associated with the substrate.

Specified by:
configureNetworking in interface NetworkSubstrate
Throws:
DeploymentException

routeMessage

public void routeMessage(SOAPMessage soapMessage)
                  throws MessageFlowException
Description copied from interface: NetworkSubstrate
Route the SOAPMessage based on the contents of the [wsa:To] element.

Specified by:
routeMessage in interface NetworkSubstrate
Throws:
MessageFlowException

isClient

public boolean isClient()
This method indicates that the node in question is a client

Specified by:
isClient in interface cgl.narada.protocol.Handler

handleData

public void handleData(cgl.narada.protocol.DataReceived dataReceived)
Specified by:
handleData in interface cgl.narada.protocol.Handler

loadCommunicationsOfType

public void loadCommunicationsOfType(Properties commProps,
                                     String commType)
                              throws cgl.narada.transport.TransportException
Load communication libraries for a specific transport based on the specified properties.

Throws:
cgl.narada.transport.TransportException

createLinkTo

public String createLinkTo(Properties props,
                           String linkType)
                    throws DeploymentException
Create a network connection to a specific host based on the specified properties and communications type.

Throws:
DeploymentException