org.springframework.erlang.support
Class ErlangAccessor
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
- Logger available to subclasses
ErlangAccessor
public ErlangAccessor()
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)
Copyright © 2011. All Rights Reserved.