Search in sources :

Example 1 with LocalStatelessSessionProxyFactoryBean

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;
}
Also used : LocalStatelessSessionProxyFactoryBean(org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean)

Aggregations

LocalStatelessSessionProxyFactoryBean (org.springframework.ejb.access.LocalStatelessSessionProxyFactoryBean)1