Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-8680

AbstractSingletonProxyFactoryBean is deprecated

    Details

    • Type: Refactoring
    • Status: Resolved
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: 3.1 M2
    • Fix Version/s: None
    • Component/s: Core:AOP
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      According to the javadocs of the AbstractSingletonProxyFactoryBean it has been deprecated

      • @deprecated as of Spring 3.1 following the deprecation of its only implementation
      • ( {@link org.springframework.transaction.interceptor.TransactionProxyFactoryBean * TransactionProxyFactoryBean}

        ) and generally in favor of providing such functionality

      • via Spring XML namespaces, e.g. {@code tx:}

        or

        {@code @Enable}

        * annotations, e.g.

      • {@code @EnableTransactionManagement}

        .

      However there is another implementation CacheProxyFactoryBean which uses this bean. So not sure if either the javadoc is valid or the deprecation at all...

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbeams Chris Beams
                Reporter:
                mdeinum Marten Deinum
                Last updater:
                Trevor Marshall
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 10 weeks, 3 days ago