Examples of NonVersionedRedisHolidaySource


Examples of com.opengamma.core.holiday.impl.NonVersionedRedisHolidaySource

@BeanDefinition
public class NonVersionedRedisHolidaySourceComponentFactory extends AbstractNonVersionedRedisSourceComponentFactory {

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