Search:

Type: Posts; User: ferranmc; Keyword(s):

Search: Search took 0.01 seconds.

  1. But the HttpRequestHandlerServlet knows about the...

    But the HttpRequestHandlerServlet knows about the ServletConfig, although it never passes it to the HttpRequestHandler target it manages. I supposed there would be a way to do it.

    Do you think I...
  2. My HttpRequestHandler is not ServletConfigAware (why?)

    Hello,

    I need a ServletConfigAware servlet that I have already configured as a HttpRequestHandler @Controller invoked by HttpRequestHandlerServlet.

    Unfortunately, my...
  3. Replies
    4
    Views
    3,996

    I used what I found here...

    I used what I found here and it works. I chose the OncePerRequestFilter but I don't know if it is necessary in my case.
  4. Replies
    6
    Views
    2,462

    Similar but cleaner solution: ...

    Similar but cleaner solution:

    http://forum.springsource.org/showthread.php?63415-Access-Spring-bean-from-ServletContextListener
  5. Strange error with Ordered Aspect and MessageSource

    Hello,

    I have an @Aspect with an @Autowired MessageSource. If I implement Ordered I get this exception:

    org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean...
  6. Maybe your AbstractFactory could implement the...

    Maybe your AbstractFactory could implement the FactoryBean interface and create instances of MyBean itself.
    Or MyBean needs some Spring dependencies you want to configure in the XML?
  7. Replies
    6
    Views
    2,462

    I think what 'objectamit' says can be easily done...

    I think what 'objectamit' says can be easily done by adding this call to your to your contextInitialized() method:

    SpringBeanAutowiringSupport.processInjectionBasedOnCurrentContext(this);
    That...
  8. Replies
    11
    Views
    4,555

    If I use the @Component annotation I get a...

    If I use the @Component annotation I get a BeanCurrentlyInCreationException.
Results 1 to 8 of 8