Examples of NonVersionedRedisPositionSource


Examples of com.opengamma.core.position.impl.NonVersionedRedisPositionSource

@BeanDefinition
public class NonVersionedRedisPositionSourceComponentFactory extends AbstractNonVersionedRedisSourceComponentFactory {

  @Override
  public void init(ComponentRepository repo, LinkedHashMap<String, String> configuration) throws Exception {
    NonVersionedRedisPositionSource source = new NonVersionedRedisPositionSource(getRedisConnector().getJedisPool(), getRedisPrefix());
   
    ComponentInfo positionSourceInfo = new ComponentInfo(PositionSource.class, getClassifier());
    positionSourceInfo.addAttribute(ComponentInfoAttributes.LEVEL, 1);
    positionSourceInfo.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemotePositionSource.class);
    repo.registerComponent(positionSourceInfo, source);
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.