Announcement Announcement Module
Collapse
No announcement yet.
how to use code to add bean? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to use code to add bean?

    How to add the following bean in code method, which is same as usual and available for AOP and transactioninterceptor?

    <bean id="serviceContractManager" class="com.manager.ServiceContractManagerImpl" autowire="byName" />

  • #2
    Your trying to programmatically register a bean with Spring? I think there have been a few discussions on the forum about this. Might be worth doing a search.

    Comment

    Working...
    X