Package com.opengamma.core.position.impl

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

Related Classes of com.opengamma.core.position.impl.NonVersionedRedisPositionSource

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.