No freakin' way to get hold of classloader via propertypath or spel?
Hi - I'm trying to get the classloader for a class via properypaths or spring expressions - but no way:
(bacServiceModuleInspector is a bean I have defined).
This:
<property name="classLoader" value="#{@bacServiceModuleInspector.Class.getClass Loader()}" />
fails with:
org.springframework.expression.spel.SpelEvaluation Exception: EL1008E:(pos 33): Field or property 'ClassLoader' cannot be found on object of type 'com.mycompany.BacServiceModuleInspector'
This fails as well:
#{T(com.edb.payment.pays.core.util.bac.BacServiceM oduleInspector).getClass().getClassLoader()}
as well as:
<util:property-path path="bacServiceModuleInspector.class.classLoader" />
is there something magic about getting classLoader of a class?