コード例 #1
0
  private ComboBoxModel buildEisPlatformCollectionHolder() {
    Collection platforms =
        CollectionTools.sortedSet(EisPlatformManager.instance().platformShortNames());

    return new ComboBoxModelAdapter(
        new SimpleCollectionValueModel(platforms), buildEisPlatformHolder());
  }
コード例 #2
0
  public void testVerifyEisPlatformManager() throws Exception {
    String platformName = "Oracle AQ";
    SCPlatformManager manager = EisPlatformManager.instance();
    String className = manager.getRuntimePlatformClassNameFor(platformName);

    assertTrue(
        "EisPlatformManager - getRuntimePlatformClassNameFor()", className.endsWith("AQPlatform"));
  }