DESY ACOP Beans Home

de.desy.acop.transport.adapters
Class DataSourceUtilities

java.lang.Object
  extended by de.desy.acop.transport.adapters.DataSourceUtilities

public class DataSourceUtilities
extends java.lang.Object

DataSourceUtilities provides common utilities for data and connection manipulation. This class provides characteristics for a specific channel and provides methods for data conversion used by the AcopTransportDataSource.

Author:
Jaka Bobnar, Cosylab

Constructor Summary
DataSourceUtilities()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.Object> getCharacteristics(ConnectionParameters param)
          Returns the characteristics of the specified remote channel.
static java.lang.String getDescription(ConnectionParameters param)
          Returns the description of the remote channel.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceUtilities

public DataSourceUtilities()
Method Detail

getCharacteristics

public static java.util.Map<java.lang.String,java.lang.Object> getCharacteristics(ConnectionParameters param)
                                                                           throws ConnectionFailed
Returns the characteristics of the specified remote channel.

Parameters:
param - remote channel specification
Returns:
map of all characteristics
Throws:
ConnectionFailed - if characteristics query failed

getDescription

public static java.lang.String getDescription(ConnectionParameters param)
                                       throws ConnectionFailed
Returns the description of the remote channel.

Parameters:
param - remote channel specification
Returns:
the description
Throws:
ConnectionFailed - if property information query failed

main

public static void main(java.lang.String[] args)
                 throws ConnectionFailed
Throws:
ConnectionFailed


Copyright © 2010. All Rights Reserved.