public abstract class ErlangAccessor
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
logger
Logger available to subclasses
|
| Constructor and Description |
|---|
ErlangAccessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected OtpException |
convertOtpAccessException(java.lang.Exception ex) |
protected Connection |
createConnection() |
ConnectionFactory |
getConnectionFactory() |
void |
setConnectionFactory(ConnectionFactory connectionFactory) |
protected final org.apache.commons.logging.Log logger
protected Connection createConnection() throws java.net.UnknownHostException, com.ericsson.otp.erlang.OtpAuthException, java.io.IOException
java.net.UnknownHostExceptioncom.ericsson.otp.erlang.OtpAuthExceptionjava.io.IOExceptionpublic void setConnectionFactory(ConnectionFactory connectionFactory)
public ConnectionFactory getConnectionFactory()
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanprotected OtpException convertOtpAccessException(java.lang.Exception ex)