Package com.opengamma.util

Examples of com.opengamma.util.Connector


  protected void registerConnectors(ComponentRepository repo, GenericApplicationContext appContext) {
    Set<Class<? extends Connector>> types = Sets.newHashSet();
    String[] beanNames = appContext.getBeanNamesForType(Connector.class);
    for (String beanName : beanNames) {
      Connector bean = appContext.getBean(beanName, Connector.class);
      types.add(bean.getType());
    }
    for (Class<? extends Connector> type : types) {
      registerInfrastructureByType(repo, type, appContext);
    }
  }
View Full Code Here

TOP

Related Classes of com.opengamma.util.Connector

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.