Search:

Type: Posts; User: Martin Zdila; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    1,232

    I've already read that and also checked some...

    I've already read that and also checked some tutorial with AspectJ. Thanks for the tip :).
  2. Replies
    8
    Views
    1,232

    = Is yourresult same as mine? I am just using...

    = Is yourresult same as mine?

    I am just using Spring AOP in standard way (using JDK Proxies). I have no experience with AspectJ yet. Any hints?

    Thanks.
  3. Replies
    8
    Views
    1,232

    this is true:...

    this is true:
    context.getBean("service").getClass() == context.getType("service")

    but this not (if called for the first time) :-)
    context.getType("service") ==...
  4. Replies
    8
    Views
    1,232

    Thanks Denis for ensuring me :-) For now I am...

    Thanks Denis for ensuring me :-)

    For now I am using something ugly like:

    BeanUtils.copyProperties(AopUtils.isAopProxy(service) ? ((Advised) service).getTargetSource().getTarget() : service,...
  5. Replies
    8
    Views
    1,232

    by using AOP I am loosing bean metadata

    Hello

    I think this is general problem, but I wonder it is not very mentioned anywhere. To explain the problem, imagine the simple scenario:

    I have factory, that creates prototype beans. These...
  6. My current solution works already. I also already...

    My current solution works already. I also already have MyServiceManager. I just don't like it uses ApplicationContextAware (= depends on spring). MyServiceManager does:
    - get list of all service...
  7. Thanks for your effort. I'll try it later and let...

    Thanks for your effort. I'll try it later and let here know.

    My Idea is simple. If I have some sevice factory (MyServiceFactory) then it should support additional methods to createMyService:
    -...
  8. Thanks for reply, Denis, but it doesn't help me....

    Thanks for reply, Denis, but it doesn't help me. What I need is mapping from bean name to bean class, not to bean instance. I don't need instances in that map while they are prototypes and should be...
  9. enumerating services with ServiceLocatorFactoryBean

    Hello

    I am using ServiceLocatorFactoryBean to create my services by name. What I am missing and would find handy is to enumerate all services that can be created.


    interface MyServiceFactory {...
  10. Replies
    10
    Views
    36,259

    I've solved it by changing URLs.

    I've solved it by changing URLs.
  11. Replies
    10
    Views
    36,259

    Thanks for reply, Luke. Unfortunaltely I don't...

    Thanks for reply, Luke. Unfortunaltely I don't want have anonymous user. Isn't there easier way how to tell FilterSecurityInterceptor to match /xxx/system/** but not /xxx/system/login?
  12. Replies
    10
    Views
    36,259

    intercept-url with access=""

    Hello

    I have this configuration:

    <bean id="filterSecurityInterceptor" class="org.springframework.security.intercept.web.FilterSecurityInterceptor">
    <property name="authenticationManager"...
Results 1 to 12 of 12