Search:

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

Search: Search took 0.03 seconds.

  1. Just to answer my own Question: That is easily...

    Just to answer my own Question:

    That is easily possible using a ProxyFactoryBean to sort of implement the service Interface without a target and a MethodInterceptor to choose the correct target...
  2. Choosing beetween different implementation via AOP

    Hi folks,

    I need to choose between different implementations of basically the same service based on one parameter.
    So I got



    public interface FirstService { doStuff(Choose by, Long...
  3. The best place to save the data across requests...

    The best place to save the data across requests would be the HttpSession or a Cookie, you could than use a context listener or filter to put the persisted data into your ThreadLocal.
  4. That is strange. AFAIK webflow doesn't create or...

    That is strange. AFAIK webflow doesn't create or use new Threads on incoming requests (at least not 2.2), since this would mean, that all other ThreadLocal Spring variables like RequestContext etc....
  5. Publish Webflow variable as ThreadLocal for an AOP Pointcut

    Hi folks,

    I don't know if it's a nice or a terribly stupid idea, but here it goes:

    I have the requirement to choose between mutliple instances of basically similar services based on a flow...
  6. Replies
    1
    Views
    883

    Ask the java compiler settings of your favorite...

    Ask the java compiler settings of your favorite build tool, open a terminal and enter javac -help, or take a look at http://download.oracle.com/javase/6/docs/technotes/tools/windows/javac.html
  7. Spring EL usage in Bean definitions

    Hi,

    Is Spring EL supported in the "init-method" attribute in the xml bean definition? Is there a reference on which attributes spring el is supported?
  8. Well there are basically two options but both...

    Well there are basically two options but both won't work allways:

    Get it from a HttpRequest from outside (well where is outside actually? and from where outside might someone adress the server)
    ...
  9. Could this perhaps relate to:...

    Could this perhaps relate to:
    https://jira.springsource.org/browse/SPR-7385
    Then your solution is simple: Just reset the world. :)

    Otherwise: I've never used ClasspathXmlApplicationContext in a...
  10. http://static.springsource.org/spring/docs/3.0.x/r...

    http://static.springsource.org/spring/docs/3.0.x/reference/beans.html#beans-inner-beans

    Especially:
    "An inner bean definition does not require a defined id or name; the container ignores these...
  11. Replies
    1
    Views
    660

    Not without at least a glimpse of your spring...

    Not without at least a glimpse of your spring config.

    A wild guess: you named a bean dataSource that's no dataSource and turned autowiring on.
  12. JNDI lookup to local datasources works without...

    JNDI lookup to local datasources works without hostname (just declare a java:comp/env/jdbc/MyDatasourceName reference in spring, in the web.xml and in the container).

    Take a look at the...
  13. Implementing a Service Registry in Spring without osgi

    Hi folks,

    I got a quick Question:
    I'd like to implement some kind of "Service Registry" in Spring (OSGi is not an option).

    One Solution is automatic service discovery by the registry:
    ...
  14. Replies
    2
    Views
    697

    For a certain request (!) The HttpServletRequest...

    For a certain request (!)
    The HttpServletRequest Object holds all information you can get at runtime.
  15. No stacktrace. I don't have a declared...

    No stacktrace.

    I don't have a declared variable in the main flow.

    I just tried for instance: (with declared global transitions for sub1 and sub2 just saying on sub1 goto sub1 and on sub2 goto...
  16. An action-state with an action method and...

    An action-state with an action method and different outcomes based on the users role should do the trick.

    Take a look at:...
  17. Passing Inout/Output from one subview to another

    Hi folks,

    this question is maybe a nearly faq for those who have worked a while with webflow:

    I got a main (let's call it main) flow with several subflows (sub1, sub2). Users can change from...
Results 1 to 17 of 17