Search:

Type: Posts; User: Vita Rara; Keyword(s):

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,109

    Use a Custom Factory?

    Would it be possible to do this with a custom factory? Something that takes arguments for the source file, interfaces, etc via properties and then returns the ruby 1.1 bean?
  2. Replies
    1
    Views
    935

    Issue with two context files

    I have the following in my web.xml



    <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>

    <context-param>
    ...
  3. Replies
    19
    Views
    10,697

    But you don't need the workaround. The issue has...

    But you don't need the workaround. The issue has been fixed in the current 2.0 release.

    Also your method wouldn't handle recompilation of dependent references held by long lived singletons. (ie....
  4. Replies
    9
    Views
    1,811

    I have created a patch for...

    I have created a patch for Groovy-1.1-beta-3-SNAPSHOT that fixes the JDK dynamic proxy issue. It has not been applied to the SVN trunk yet. You can retrieve the patch from:
    ...
  5. Replies
    9
    Views
    1,811

    Do you by chance know what AopProxy...

    Do you by chance know what AopProxy implementation is used to manufacture the proxy object using the TransactionProxyFactoryBean methodology?

    There are four of them in...
  6. Replies
    9
    Views
    1,811

    No quick solution yet. There's a conversation...

    No quick solution yet. There's a conversation going on over on the Groovy-dev list:

    http://www.nabble.com/JDK-Style-Proxy-Issue-tf4137792.html

    I've isolated the issue down to the use of proxies...
  7. Replies
    9
    Views
    1,811

    I think this is a Groovy issue, and not a Spring...

    I think this is a Groovy issue, and not a Spring issue. I have simplified the test, removing all dependencies on Spring. Please see:

    http://mark.mjm.net/~mark/GroovyProxyTest.tar.gz

    The issue...
  8. Replies
    9
    Views
    1,811

    OK, a little more investigation turns up this...

    OK, a little more investigation turns up this post over on the Groovy User list:

    http://www.nabble.com/using-MOP-to-implement-wrappers-decorators-tf3545582.html#a9968363

    That test fails under...
  9. Replies
    9
    Views
    1,811

    Chris, I should have emailed you directly....

    Chris,

    I should have emailed you directly. Thanks for digging into this. I just about ran out of mental energy yesterday working on this. I'll take a look at JdkDynamicAopProxy, not that I think...
  10. Replies
    9
    Views
    1,811

    Groovy Support Broken with 1.1-beta-2

    I am attempting to upgrade to Groovy 1.1 beta into an application that has been using Spring and Groovy 1.0. (I want to be able to use annotations and generics.)

    When attempting to use a Groovy...
  11. Alef, Thanks for the heads up. I should have...

    Alef,

    Thanks for the heads up. I should have searched the JIRA.

    Take care,

    Mark
  12. Ugh... I had the wrong Spring dependency in my...

    Ugh... I had the wrong Spring dependency in my pom.xml file. Changed it to 2.0.3 and the issue is gone.

    Too many pom files and example apps floating around for me.

    Mark
  13. AOP Issues with non-Spring instantiated Groovy script bean

    This seems to be somewhat related to http://opensource.atlassian.com/projects/spring/browse/SPR-3223

    I am instantiating a Groovy bean using a GroovyClassLoader, and then handing it to a Spring...
  14. Replies
    0
    Views
    1,430

    Scripting Support: Proxy Strangeness

    I have the following Groovy bean:




    package groovyworks;

    import com.opensymphony.xwork2.ActionSupport;

    class MyAction extends ActionSupport {
  15. I turned up the logging level on Spring, and...

    I turned up the logging level on Spring, and realized that the lang namespace now depends on having JRuby and Bsh on the classpath. I added those dependencies, and the applicationContext now loads.
    ...
  16. Unable to locate NamespaceHandler for namespace ... lang

    I tried working with the 2.0.3 release, but I am getting the following error when starting my context when I have lang:* tags in my config.

    [ERROR] 18:13:50,562...
  17. Thank you. Thank you. Thank you. You dug a...

    Thank you. Thank you. Thank you.

    You dug a ways back to find this post. You're advice worked and now my context starts, initializes and loads my JPA persistence context and I can run my...
  18. Replies
    19
    Views
    10,697

    I updated to the CVS head for Spring. As soon as...

    I updated to the CVS head for Spring. As soon as I add a lang:groovy bean I get the following error:


    Embedded error: Configuration problem: Unable to locate NamespaceHandler for namespace...
  19. Replies
    19
    Views
    10,697

    I posted the following on the JIRA issue. If...

    I posted the following on the JIRA issue. If anyone else has an answer I'd really like to know.
  20. Replies
    19
    Views
    10,697

    Hi Rick, First, I'm not angry at anyone. I...

    Hi Rick,

    First, I'm not angry at anyone. I love Spring. (As much as I can love something intangible like a framework. I sure know I don't love EJB though. ;) ) I also greatly appreciate your...
  21. Replies
    19
    Views
    10,697

    This is long, my apologies, but if you're...

    This is long, my apologies, but if you're interested in using scripted beans please read it.



    So, basically the scripting support in Spring is pretty useless. Yes you can instantiate a bean...
  22. Replies
    19
    Views
    10,697

    I've done a bit more research on this issue. ...

    I've done a bit more research on this issue.

    I did the following:


    Created a GroovyClassLoader
    Created an ApplicationContext and set its classloader to the GroovyClassLoader
    Refreshed my...
  23. Replies
    19
    Views
    10,697

    I'm getting this same error, "warning can't...

    I'm getting this same error, "warning can't determine implemented interfaces of missing type..."

    My groovy classes implements LOTS of interfaces. They descend from...
  24. Using the guidance posted by Chris I've created a...

    Using the guidance posted by Chris I've created a patch against 2.0.2 that allows scripted beans to have either prototype or singleton scope.

    The patch is attached to the JIRA issue posted above....
  25. Post a patch?

    Hi Chris,

    Could you attach a patch against 2.0.3 to the JIRA issue? I spent several days looking at this issue (in between conference sessions) this week. If you already have working code I'd like...
Results 1 to 25 of 58
Page 1 of 3 1 2 3