Package com.opengamma.engine.function

Examples of com.opengamma.engine.function.AbstractFunction$NonCompiledInvoker


  //-------------------------------------------------------------------------
  protected static void addParameterizedFunctionConfiguration(final InMemoryFunctionRepository repository, final ParameterizedFunctionConfiguration functionConfig) {
    try {
      final Class<?> definitionClass = ReflectionUtils.loadClass(functionConfig.getDefinitionClassName());
      final AbstractFunction functionDefinition = createParameterizedFunction(definitionClass, functionConfig.getParameter());
      repository.addFunction(functionDefinition);
    } catch (final RuntimeException ex) {
      s_logger.error("Unable to add function definition {}, ignoring", functionConfig);
      s_logger.info("Caught exception", ex);
    }
View Full Code Here


  //-------------------------------------------------------------------------
  protected static void addStaticFunctionConfiguration(final InMemoryFunctionRepository repository, final StaticFunctionConfiguration functionConfig) {
    try {
      final Class<?> definitionClass = ReflectionUtils.loadClass(functionConfig.getDefinitionClassName());
      final AbstractFunction functionDefinition = createStaticFunction(definitionClass);
      repository.addFunction(functionDefinition);
    } catch (final RuntimeException ex) {
      s_logger.error("Unable to add function definition {}, ignoring", functionConfig);
      s_logger.info("Caught exception", ex);
    }
View Full Code Here

TOP

Related Classes of com.opengamma.engine.function.AbstractFunction$NonCompiledInvoker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.