Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    2,653

    I'm only guessing : maybe cglib can't proxy...

    I'm only guessing : maybe cglib can't proxy protected methods, because they are protected?

    Try this :)



    public String getComputedValue() {
    return getComputedValue2();
    }
  2. Replies
    12
    Views
    5,262

    Because of the quote I still hope AOP can help....

    Because of the quote I still hope AOP can help. Thanks for now, i see this problem is not of general interest. If I found a solution I will post it.

    Mo
  3. Replies
    12
    Views
    5,262

    You are correct . That's what I meant, sorry. ...

    You are correct . That's what I meant, sorry.



    There is no way in Java to dynamically change a cast at runtime. Unless you use code generation or pure reflection you will *always* have to cast...
  4. Replies
    12
    Views
    5,262

    Now this is quite difficult to understand! ...

    Now this is quite difficult to understand!

    Let's start with the first sentence



    Ok, the situation is, I'm loading a class via Class.forName() from whom I know that it implements one or more...
  5. Replies
    12
    Views
    5,262

    No I don't want to avoid casts. I do want to...

    No I don't want to avoid casts. I do want to understand how AOP can help to build the "extension object" pattern and do the technical concerns for me. Maybe you are correct and this misuses AOP. But...
  6. Replies
    12
    Views
    5,262

    Thank you for posting the links, they are very...

    Thank you for posting the links, they are very helpfull!

    It could, if your world remains static every single day 7/7 * 53 :)




    but problem is the highlighted word "registered". So we are...
  7. Replies
    12
    Views
    5,262

    String clazz = "com.moo.foo.bar" AdapterA adaptA...

    String clazz = "com.moo.foo.bar"
    AdapterA adaptA = SomeFactory.newInstance(AdapterA.class, clazz);
    AdapterB adaptB = SomeFactory.newInstance(AdapterB.class, clazz);


    Now consider the above...
  8. Replies
    12
    Views
    5,262

    AOP and pattern design

    Currently I'm doing some basic reading about the "extension object" pattern.

    This pattern involves a lot of technical stuff like castings from A to B, asking for extensions....

    Proposal:...
  9. Thread: method lookup

    by moo
    Replies
    1
    Views
    2,134

    method lookup

    currently I'm doing some XML bindung stuff with jakarta commons digester. If you haven't heard of it maybe you know XStream. The point is "digesting" my XML bindings consumes a lot of small prototype...
  10. Replies
    14
    Views
    5,335

    basic reading while waiting for your train:...

    basic reading while waiting for your train: Design Patterns Explained: A New Perspective on Object-Oriented Design
    by Alan Shalloway, James Trott
    explains some nice ideas but verbose.

    Software...
  11. this is slowly getting OT I think... anyway 1a....

    this is slowly getting OT I think... anyway
    1a. study Template Pattern (gof)
    1b. let DI inject the template class
    1c. Template class could be AbstractUserService
    1d. AbstractUserService controls...
  12. I didn't know that Acegi Security implements UNIX...

    I didn't know that Acegi Security implements UNIX style ACL, sorry about that.
  13. Replies
    5
    Views
    4,350

    .... i don't know sun's bean specification by...

    .... i don't know sun's bean specification by heart but i can't remember it saying explicitly that using static bean access is forbidden....



    public class Person {
    private static String id;...
  14. ok, i'll try to :) i see two difficulties......

    ok, i'll try to :)

    i see two difficulties... the one you already described and the other related to objects created by your users.

    1. leave everything in one class (bean :) ) but use...
  15. Replies
    5
    Views
    4,350

    Are static setter/getters allowed?

    maybe someone asked that before... I could'nt find any restrictions relating to the usage of static setter/getters. are they allowed in spring?
    Mo
  16. Thread: Spring + Plugins

    by moo
    Replies
    7
    Views
    2,955

    i'm still interested in having spring managed...

    i'm still interested in having spring managed plugins
    maybe this sounds interesting
    http://genpluginengine.sourceforge.net/manual/features.html
  17. Thread: ProxyFactoryBean

    by moo
    Replies
    2
    Views
    2,031

    yep now it does... I had problems with my code...

    yep now it does... I had problems with my code but because of other things! thanks.
  18. Thread: ProxyFactoryBean

    by moo
    Replies
    2
    Views
    2,031

    ProxyFactoryBean

    I'm reading section

    http://www.springframework.org/docs/reference/aop.html#d0e3285

    that gives an example on how to configure ProxyFactoryBean



    <bean id="person"
    ...
  19. Thread: Spring + Plugins

    by moo
    Replies
    7
    Views
    2,955

    thanks, but there is no AfterThrowingAdvice only...

    thanks, but there is no AfterThrowingAdvice only AfterReturningAdvice...
    Mo
  20. Thread: Spring + Plugins

    by moo
    Replies
    7
    Views
    2,955

    Great! I think that Spring + managed...

    Great! I think that Spring + managed beans/plugins + jmx + jms will be a big step for the J2EE developer community
    and much more than only an alternative to fullblown appservers.
    I think plugin...
  21. Thread: Spring + Plugins

    by moo
    Replies
    7
    Views
    2,955

    Spring + Plugins

    Hello I'm totally new to Spring and I'm still trying to figure out what spring can actually do for me.
    So I started reading "J2EE Develepment without EJB".
    One of the best books on software...
Results 1 to 21 of 21