kaos.core.service.transport
Class KAoSTransportSystem

java.lang.Object
  extended by kaos.core.service.transport.KAoSTransportSystem

public class KAoSTransportSystem
extends java.lang.Object

Author:
jlott

Field Summary
static java.lang.String MESSAGE_TRANSPORT_SERVICE_KEY
           
 
Constructor Summary
KAoSTransportSystem()
           
KAoSTransportSystem(ServiceProperties env)
           
 
Method Summary
 MessageTransportService getMessageTransportService(JasBean env)
           
 MessageTransportService getMessageTransportService(Locator l)
           
 MessageTransportService[] getMessageTransportServices()
           
 ServiceProperties getServiceProperties()
           
 MessageReceiver newMessageReceiver(JasBean env)
           
 MessageSender newMessageSender(JasBean env)
           
 void sendMessage(TransportMessage msg)
           
 void sendMessage(TransportMessage msg, Locator l)
           
 void setServiceProperties(ServiceProperties arg0)
           
static ServiceProperties toServiceProperties(BootProperties bootProps)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_TRANSPORT_SERVICE_KEY

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

KAoSTransportSystem

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

KAoSTransportSystem

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

toServiceProperties

public static ServiceProperties toServiceProperties(BootProperties bootProps)

getMessageTransportServices

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

getMessageTransportService

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

getMessageTransportService

public MessageTransportService getMessageTransportService(JasBean env)
                                                   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()
                                       throws ServiceException,
                                              ServiceFailure
Throws:
ServiceException
ServiceFailure

setServiceProperties

public void setServiceProperties(ServiceProperties arg0)
                          throws ServiceException,
                                 ServiceFailure
Throws:
ServiceException
ServiceFailure