Examples of FunctionBlacklist


Examples of com.opengamma.engine.function.blacklist.FunctionBlacklist

          throw new OpenGammaRuntimeException("invalid property '" + conf.getKey() + "' on " + _bean, e);
        }
      }
      itr.remove();
    }
    final FunctionBlacklist blacklist = _bean.getObjectCreating();
   
    ComponentInfo infoRO = new ComponentInfo(FunctionBlacklist.class, classifier);
    infoRO.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    infoRO.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteFunctionBlacklist.class);
    repo.registerComponent(infoRO, blacklist);
View Full Code Here

Examples of com.opengamma.engine.function.blacklist.FunctionBlacklist

    assertSame(provider.getQuery("Foo"), query);
  }

  public void testFunctionBlacklistQueryProviderBean() {
    final FunctionBlacklistProvider provider = Mockito.mock(FunctionBlacklistProvider.class);
    final FunctionBlacklist blacklist = new EmptyFunctionBlacklist();
    Mockito.when(provider.getBlacklist("BL_Foo")).thenReturn(blacklist);
    final FunctionBlacklistQueryProviderBean bean = new FunctionBlacklistQueryProviderBean();
    bean.setBlacklistPrefix("BL_");
    bean.setBlacklistProvider(provider);
    final FunctionBlacklistQuery query = bean.getQuery("Foo");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.