use of org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean in project iaf by ibissource.
the class EjbDelegatingIbisManager method getIbisManager.
protected synchronized IbisManager getIbisManager() {
if (this.ibisManager == null) {
// Look it up via EJB, using JNDI Name based on configuration name
LocalStatelessSessionProxyFactoryBean factoryBean = (LocalStatelessSessionProxyFactoryBean) beanFactory.getBean(FACTORY_BEAN_ID);
this.ibisManager = (IbisManager) factoryBean.getObject();
log.info("Looked up IbisManagerEjb at JNDI location '" + factoryBean.getJndiName() + "'");
}
return this.ibisManager;
}
Aggregations