2 Replies Latest reply on Oct 14, 2016 2:49 PM by Juergen Weber

    Change Classloader Behaviour - ClassLoaderPolicy

    Juergen Weber Newbie

      Hi,

       

      in the old JBoss 4 one could modify Classloader behaviour with a ClassLoaderPolicy, e.g. [1] shows a ClassLoaderPolicy that decrypts Property files in getResourceAsStream.

       

      I'd like to forward getResourceAsStream("/myproperties.properties") to a database without modifying existing applications.

       

      Can you do so in Wildfly ?

       

      [1] A Look Inside JBoss Microcontainer's ClassLoading Layer - DZone Java