Spring AMQP

org.springframework.erlang.support
Class ErlangUtils

java.lang.Object
  extended by org.springframework.erlang.support.ErlangUtils

public class ErlangUtils
extends Object

Author:
Mark Pollack

Constructor Summary
ErlangUtils()
           
 
Method Summary
static OtpException convertOtpAccessException(Exception ex)
           
static void releaseConnection(com.ericsson.otp.erlang.OtpConnection con)
          Close the given Connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErlangUtils

public ErlangUtils()
Method Detail

releaseConnection

public static void releaseConnection(com.ericsson.otp.erlang.OtpConnection con)
Close the given Connection.

Parameters:
con - the Connection to close if necessary (if this is null, the call will be ignored)

convertOtpAccessException

public static OtpException convertOtpAccessException(Exception ex)

Spring AMQP

Copyright © 2011. All Rights Reserved.