Skip to content

Commit

Permalink
the existence check (JScripts, Schedule and other tables)
Browse files Browse the repository at this point in the history
  • Loading branch information
Темненков Кирилл Дмитриевич committed Mar 31, 2016
1 parent ba6c1e7 commit 7fe2452
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions jnode-core/src/jnode/main/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
package jnode.main;

import com.j256.ormlite.logger.LocalLog;

import jnode.dto.*;
import jnode.event.Notifier;
import jnode.event.SharedModuleEvent;
import jnode.ftn.FtnTools;
Expand All @@ -30,12 +30,7 @@
import jnode.jscript.JscriptExecutor;
import jnode.logger.Logger;
import jnode.logger.Redirector;
import jnode.main.threads.HealthReporter;
import jnode.main.threads.NetmailFallback;
import jnode.main.threads.PollQueue;
import jnode.main.threads.ThreadPool;
import jnode.main.threads.TimerPoll;
import jnode.main.threads.TosserQueue;
import jnode.main.threads.*;
import jnode.module.JnodeModule;
import jnode.orm.ORMManager;
import jnode.protocol.binkp.BinkpAsyncClientPool;
Expand All @@ -48,9 +43,9 @@
import java.util.TimerTask;

/**
*
*
* @author kreon
*
*
*/
public class Main {
private static final Logger logger = Logger.getLogger(Main.class);
Expand Down Expand Up @@ -102,7 +97,28 @@ public static void main(String[] args) {
BINKD_THREADS, 10);
new ThreadPool(nThreads);

// eof
// the existence check
ORMManager.get(Echoarea.class);
ORMManager.get(Echomail.class);
ORMManager.get(EchomailAwaiting.class);
ORMManager.get(Filearea.class);
ORMManager.get(FileForLink.class);
ORMManager.get(Filemail.class);
ORMManager.get(FilemailAwaiting.class);
ORMManager.get(FileSubscription.class);
ORMManager.get(Jscript.class);
ORMManager.get(Link.class);
ORMManager.get(LinkOption.class);
ORMManager.get(Netmail.class);
ORMManager.get(Rewrite.class);
ORMManager.get(Robot.class);
ORMManager.get(Route.class);
ORMManager.get(Schedule.class);
ORMManager.get(ScriptHelper.class);
ORMManager.get(Subscription.class);
ORMManager.get(Version.class);

// eof
ThreadPool.execute(new BinkpAsyncServer());

ThreadPool.execute(new BinkpAsyncClientPool());
Expand Down

0 comments on commit 7fe2452

Please sign in to comment.