1 Reply Latest reply on Jul 8, 2013 8:36 AM by Sergio_AA

    How Get ICubeContext at Java bean (Spring Context)




      I need to get the ICubeContext in a Java Bean (Spring Context). Is possible?


      For example in a custom xpath fuction, is very easy:


      public Object call(IXPathContext context, List args) throws XPathFunctionException { 
          Map props = (Map) context.getVariableValue(null, null, "xpath-function-data");
          ICubeContext ctx = (ICubeContext) props.get("ICubeContext");


      I would appreciate any help. Thank you very much!