Spring AMQP

org.springframework.erlang.support
Class ErlangAccessor

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

public abstract class ErlangAccessor
extends Object
implements 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(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 UnknownHostException,
                                      com.ericsson.otp.erlang.OtpAuthException,
                                      IOException
Throws:
UnknownHostException
com.ericsson.otp.erlang.OtpAuthException
IOException

setConnectionFactory

public void setConnectionFactory(ConnectionFactory connectionFactory)

getConnectionFactory

public ConnectionFactory getConnectionFactory()

afterPropertiesSet

public void afterPropertiesSet()
Specified by:
afterPropertiesSet in interface InitializingBean

convertOtpAccessException

protected OtpException convertOtpAccessException(Exception ex)

Spring AMQP

Copyright © 2011. All Rights Reserved.