ContextSingletonBeanFactoryLocator « Core « Spring Q&A





1. ContextSingletonBeanFactoryLocator & destroy-method issu    forum.springsource.org

I am loading the Spring context from my EJBs using a ContextSingletonBeanFactoryLocator: Code: public void setSessionContext(SessionContext sessionContext) { super.setSessionContext(sessionContext); setBeanFactoryLocator(ContextSingletonBeanFactoryLocator.getInstance()); setBeanFactoryLocatorKey(EJB_CONTEXT_ID); } in the Spring XML file, I have something like ...

2. ContextSingletonBeanFactoryLocator Good or Bad    forum.springsource.org

ContextSingletonBeanFactoryLocator Good or Bad Could someone please explain to me the pitfalls of using ContextSingletonBeanFactoryLocator? The BeanFactoryLocator documentation seems to strongly suggest that you not use this class and when you ...

3. ContextSingletonBeanFactoryLocator not finding beanRefContex    forum.springsource.org

Mar 27th, 2005, 04:30 PM #1 eoliphant View Profile View Forum Posts Private Message Junior Member Join Date Aug 2004 Posts 16 ContextSingletonBeanFactoryLocator not finding beanRefContex Hi, I am having problems ...

4. ContextSingletonBeanFactoryLocator problem    forum.springsource.org

ContextSingletonBeanFactoryLocator problem Hi, all: I am trying to create a static class, which would return ApplicationContext. I am using pieces of code from this forum, but I am getting an exception. ...

5. How to use ContextSingletonBeanFactoryLocator    forum.springsource.org

How to use ContextSingletonBeanFactoryLocator Hi, Sorry if this has been covered over and over, but I can't find a definitive example that works. I want to have a single spring context ...

6. classpath* and ContextSingletonBeanFactoryLocator    forum.springsource.org

Hi all - We have more than one EJB that shares the same applicationContext and it uses the ContextSingletonBeanFactoryLocator. When it loads the applicationContext that is found in the beanRefContext.xml, we ...

7. ContextSingletonBeanFactoryLocator and BeanPostProcessors    forum.springsource.org

Hi, as recommended in this forum, I use ContextSingletonBeanFactoryLocator in my EJBs so that they share a single ApplicationContext. It seems that the beans from the ApplicationContext created in beanRefContext.xml, ignores ...

8. About ContextSingletonBeanFactoryLocator    forum.springsource.org

I use EJB with ContextSingletonBeanFactoryLocator, code in MyEjbBean like this: Code: public class MyEjbBean extends AbstractStatelessSessionBean { ... public void setSessionContext(SessionContext sessionContext) { setBeanFactoryLocator(ContextSingletonBeanFactoryLocator.getInstance()); setBeanFactoryLocatorKey("my.app.context"); super.setSessionContext(sessionContext); } ... } My applicationContext ...

9. ContextSingletonBeanFactoryLocator Question    forum.springsource.org

ContextSingletonBeanFactoryLocator Question Hi Spring Community!, I'm using ContextSingletonBeanFactoryLocator to replace a Singleton that I was using before in every single application that I was deploying to reduce the overhead of its ...





10. Confused about using BeanFactoryLocator from ContextSingletonBeanFactoryLocator    forum.springsource.org

Confused about using BeanFactoryLocator from ContextSingletonBeanFactoryLocator Spring 1.2.8, Java 5, WebLogic 9.x. For quite a while I've been doing work on application-specific portions (not framework pieces) of a Spring 1.2.8 app, ...

11. ContextSingletonBeanFactoryLocator refresh issue    forum.springsource.org

ContextSingletonBeanFactoryLocator refresh issue Hi all, I have a rich client application, swing-based, that use EJB's to get the job done. The config looks like this: beanRefContext: Code: ...

12. ContextLoaderListener and ContextSingletonBeanFactoryLocator usage?    forum.springsource.org

ContextLoaderListener and ContextSingletonBeanFactoryLocator usage? Hi All, We're building a project using EJB3 and Spring technologies. EJB3 SLBS are used as remote delegates of spring service beans. Spring is used in both ...

13. Confused about ContextSingletonBeanFactoryLocator    forum.springsource.org

Confused about ContextSingletonBeanFactoryLocator I have a desktop application, that has lots of non-Spring code that I want to talk to Spring managed beans. I want to do this as non-invasively as ...