• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Spring.Net Framework

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by Solent View Post
    Hi,

    Has anybody got experience in this, IoV/DI. I've been tasked with replacing some XML with bootstrap code using Spring, as the client wants to Obfuscate code but the obfuscation software renames the public methods and therefore IoV in the XML will not correlate to the methods. I dont how to rewrite the XML into Code using Spring.

    Thanks
    You want to replace the xml configuration files with code that configures the spring container programatically?

    I think you need to create a GenericApplicationContext and then call registerObjectDefinition for each object you need to register.

    It's probably easier to create new xml config files that use the obfuscated names.
    While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

    Comment


      #12
      Many thanks for the replies. Some useful info. Yes, I do apologise; IoC and not IoV (typo...). I though along the lines of ApplicationContext so will investigate this further

      Comment

      Working...
      X