Examples of open()


Examples of org.sf.bee.commons.plugins.BeePluginManager.open()

    private void initPluginManager() {
        final BeePluginManager pluginManager = super.getPluginManager();
        pluginManager.setConfigurationRoot(
                PathUtils.merge(super.getApplication().getAppPath(),
                IBeePluginsConstants.PATH));
        pluginManager.open();
        // retrieve plugins for LOG
        final Collection<BeePluginItem> plugins = pluginManager.getRepository().getItems();
        if (!CollectionUtils.isEmpty(plugins)) {
            super.getLogger().log(Level.INFO,
                    "PLUG-IN MANAGER initialized: Found {0} plugins.",
View Full Code Here

Examples of org.sf.bee.persistence.sql.executors.AbstractSQLExecutor.open()

     */
    public void dropAndCreateDatabase(final String unitName,
            final BeePersistenceProperties props) throws Exception {
        final AbstractSQLExecutor exec = _execfactory.create(props);
        if (null != exec) {
            exec.open();
            try {
                exec.dropDatabase();
                exec.createDatabase();
            } catch (Throwable t) {
                // may be tables doest not exists
View Full Code Here

Examples of org.sf.bee.persistence.sql.executors.generic.GenericExecutor.open()

        return null;
    }

    private AbstractSQLExecutor getBase(final String driverClass) {
        final AbstractSQLExecutor result = new GenericExecutor(driverClass);
        result.open();
        return result;
    }

    private AbstractSQLExecutor getInstance(final String driverClass) {
        if (StringUtils.hasText(driverClass)) {
View Full Code Here

Examples of org.skife.jdbi.v2.DBI.open()

  private TodoDao dao;

  @Before
  public void setUp() {
    DBI dbi = new DBI("jdbc:h2:mem:test");
    dao = dbi.open(TodoDao.class);
  }

  @After
  public void tearDown() {
    dao.close();
View Full Code Here

Examples of org.skife.jdbi.v2.IDBI.open()

    @BeforeMethod
    public void setup()
            throws Exception
    {
        IDBI dbi = new DBI("jdbc:h2:mem:test" + System.nanoTime());
        dummyHandle = dbi.open();
        dataDir = Files.createTempDir();
        ShardManager shardManager = new DatabaseShardManager(dbi);
        InMemoryNodeManager nodeManager = new InMemoryNodeManager();

        String nodeName = UUID.randomUUID().toString();
View Full Code Here

Examples of org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.open()

        final DataContentTopComponent dctc = DataContentTopComponent.createUndocked(name, null);

        Mode m = WindowManager.getDefault().findMode("outputFloat"); //NON-NLS
        m.dockInto(dctc);
        dctc.open();
       
        // Queue setting the node on the EDT thread to be done later so the dctc
        // can completely initialize.
        SwingUtilities.invokeLater(new Runnable() {
            @Override
View Full Code Here

Examples of org.sleuthkit.autopsy.corecomponents.DataResultPanel.open()

        dataContentPanel = DataContentPanel.createInstance();
        this.contentViewerContainerPanel.add(dataContentPanel, BorderLayout.CENTER);
        tlrv = new TimeLineResultView(dataContentPanel);
        DataResultPanel dataResultPanel = tlrv.getDataResultPanel();
        this.resultContainerPanel.add(dataResultPanel, BorderLayout.CENTER);
        dataResultPanel.open();

        Platform.runLater(() -> {
            //assemble ui componenets together
            jFXstatusPanel.setScene(new Scene(statusBar));
View Full Code Here

Examples of org.sonar.wsclient.issue.ActionPlanClient.open()

  public void should_open_action_plan() {
    HttpRequestFactory requestFactory = new HttpRequestFactory(httpServer.url());
    httpServer.stubResponseBody("{\"actionPlan\": {\"key\": \"382f6f2e-ad9d-424a-b973-9b065e04348a\"}}");

    ActionPlanClient client = new DefaultActionPlanClient(requestFactory);
    ActionPlan result = client.open("382f6f2e-ad9d-424a-b973-9b065e04348a");

    assertThat(httpServer.requestedPath()).isEqualTo("/api/action_plans/open");
    assertThat(httpServer.requestParams()).includes(
      entry("key", "382f6f2e-ad9d-424a-b973-9b065e04348a")
    );
View Full Code Here

Examples of org.springframework.batch.repeat.RepeatListener.open()

    // processing takes place.
    boolean running = !isMarkedComplete(context);

    for (int i = 0; i < listeners.length; i++) {
      RepeatListener interceptor = listeners[i];
      interceptor.open(context);
      running = running && !isMarkedComplete(context);
      if (!running)
        break;
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.batch.ui.editor.hyperlink.batch.StepReferenceHyperlinkProvider.open()

    // TODO: make this return a HyperlinkedComboAttribute?
    HyperlinkedTextAttribute linkAttr = new XmlBackedHyperlinkTextAttribute(client, toolkit, attr, required) {
      public void openHyperlink() {
        XmlBackedHyperlinkProvider provider = new StepReferenceHyperlinkProvider(getConfigEditor()
            .getTextViewer(), getInput(), attr);
        provider.open(text.getText());
      }
    };
    linkAttr.createAttribute(2);
    return linkAttr;
  }
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.