kaos.core.service.transport.grid
Class GridTransportSystem

java.lang.Object
  extended by kaos.core.service.transport.grid.GridTransportSystem

public class GridTransportSystem
extends java.lang.Object


Field Summary
static java.lang.String GRID
           
 
Constructor Summary
GridTransportSystem()
           
GridTransportSystem(ServiceProperties env)
           
 
Method Summary
 java.lang.String getBindingName()
           
 MessageTransportService getMessageTransportService(Locator l)
           
 MessageTransportService[] getMessageTransportServices()
           
 ServiceProperties getServiceProperties()
           
 boolean loadTransportService(java.lang.String type, ServiceProperties env)
           
 MessageReceiver newMessageReceiver(JasBean env)
           
 MessageSender newMessageSender(JasBean env)
           
 void sendMessage(TransportMessage msg)
           
 void sendMessage(TransportMessage msg, Locator l)
           
 void setServiceProperties(ServiceProperties props)
           
 boolean unloadTransportService(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRID

public static final java.lang.String GRID
See Also:
Constant Field Values
Constructor Detail

GridTransportSystem

public GridTransportSystem()
                    throws java.lang.Exception
Throws:
java.lang.Exception

GridTransportSystem

public GridTransportSystem(ServiceProperties env)
                    throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

getBindingName

public java.lang.String getBindingName()

loadTransportService

public boolean loadTransportService(java.lang.String type,
                                    ServiceProperties env)

unloadTransportService

public boolean unloadTransportService(java.lang.String type)

getMessageTransportServices

public MessageTransportService[] getMessageTransportServices()
                                                      throws TransportFailure
Throws:
TransportFailure

getMessageTransportService

public MessageTransportService getMessageTransportService(Locator l)
                                                   throws NotLocatableException,
                                                          TransportFailure
Throws:
NotLocatableException
TransportFailure

newMessageSender

public MessageSender newMessageSender(JasBean env)
                               throws NotLocatableException,
                                      TransportFailure
Throws:
NotLocatableException
TransportFailure

newMessageReceiver

public MessageReceiver newMessageReceiver(JasBean env)
                                   throws NotLocatableException,
                                          TransportFailure
Throws:
NotLocatableException
TransportFailure

sendMessage

public void sendMessage(TransportMessage msg)
                 throws NotLocatableException,
                        NoSuchTransportException,
                        TransportFailure
Throws:
NotLocatableException
NoSuchTransportException
TransportFailure

sendMessage

public void sendMessage(TransportMessage msg,
                        Locator l)
                 throws NotLocatableException,
                        NoSuchTransportException,
                        TransportFailure
Throws:
NotLocatableException
NoSuchTransportException
TransportFailure

getServiceProperties

public ServiceProperties getServiceProperties()

setServiceProperties

public void setServiceProperties(ServiceProperties props)