Spring AMQP

org.springframework.erlang.connection
Class SimpleConnectionFactory

java.lang.Object
  extended by org.springframework.erlang.connection.SimpleConnectionFactory
All Implemented Interfaces:
InitializingBean, ConnectionFactory

public class SimpleConnectionFactory
extends Object
implements ConnectionFactory, InitializingBean

Author:
Mark Pollack, Mark Fisher

Constructor Summary
SimpleConnectionFactory(String selfNodeName, String peerNodeName)
           
SimpleConnectionFactory(String selfNodeName, String cookie, String peerNodeName)
           
 
Method Summary
 void afterPropertiesSet()
           
 com.ericsson.otp.erlang.OtpConnection createConnection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleConnectionFactory

public SimpleConnectionFactory(String selfNodeName,
                               String cookie,
                               String peerNodeName)

SimpleConnectionFactory

public SimpleConnectionFactory(String selfNodeName,
                               String peerNodeName)
Method Detail

createConnection

public com.ericsson.otp.erlang.OtpConnection createConnection()
                                                       throws UnknownHostException,
                                                              com.ericsson.otp.erlang.OtpAuthException,
                                                              IOException
Specified by:
createConnection in interface ConnectionFactory
Throws:
UnknownHostException
com.ericsson.otp.erlang.OtpAuthException
IOException

afterPropertiesSet

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

Spring AMQP

Copyright © 2010. All Rights Reserved.