Spring AMQP

org.springframework.erlang.support
Class ErlangAccessor

java.lang.Object
  extended by org.springframework.erlang.support.ErlangAccessor
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
ErlangTemplate

public abstract class ErlangAccessor
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean

Author:
Mark Pollack

Field Summary
protected  org.apache.commons.logging.Log logger
          Logger available to subclasses
 
Constructor Summary
ErlangAccessor()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  OtpException convertOtpAccessException(java.lang.Exception ex)
           
protected  Connection createConnection()
           
 ConnectionFactory getConnectionFactory()
           
 void setConnectionFactory(ConnectionFactory connectionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Logger available to subclasses

Constructor Detail

ErlangAccessor

public ErlangAccessor()
Method Detail

createConnection

protected Connection createConnection()
                               throws java.net.UnknownHostException,
                                      com.ericsson.otp.erlang.OtpAuthException,
                                      java.io.IOException
Throws:
java.net.UnknownHostException
com.ericsson.otp.erlang.OtpAuthException
java.io.IOException

setConnectionFactory

public void setConnectionFactory(ConnectionFactory connectionFactory)

getConnectionFactory

public ConnectionFactory getConnectionFactory()

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean

convertOtpAccessException

protected OtpException convertOtpAccessException(java.lang.Exception ex)

Spring AMQP