Using Custom Engine Properties In BW Java Code or Java Method

Hi All,

I have a requirement where I need to know the properties like "Engine.Dir" which is the custom Engine property inside a java code activity. Can I use the following statement to get the value of the Engine.Dir?

This is needed to load some custom property files inside the Java activity , so that I can get the relative Engine directory to load the property files.


Thanks in Advance.