From 1f6776f237cb98c1222ee9dd2f75220de0d02c34 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Sun, 01 Dec 2024 17:07:47 +0000
Subject: [PATCH] wireActors zugunsten von Scanner aufgeloest

---
 src/de/uhilger/neon/Factory.java |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/src/de/uhilger/neon/Factory.java b/src/de/uhilger/neon/Factory.java
index 7cb2a86..ddbb717 100644
--- a/src/de/uhilger/neon/Factory.java
+++ b/src/de/uhilger/neon/Factory.java
@@ -187,9 +187,7 @@
         ctxAttrs.putAll(cd.attributes);
         if (h instanceof Handler) {
           for (String packageName : packageNames) {
-            wireActors(scn,
-                    packageName, (Handler) h,
-                    cd.attributes.get("contextName"));
+            scn.process(this, packageName, (Handler) h, cd.attributes.get("contextName"));
             ctx.getAttributes().put("serverDataProviderList", sdp);
           }
         }
@@ -262,15 +260,6 @@
             | InvocationTargetException ex) {
       // Klasse nicht gefunden. Muss das geloggt oder sonstwie behandel werden?
       return null;
-    }
-  }
-
-  @SuppressWarnings("unchecked")
-  private void wireActors(Scanner scn, String packageName, /*Class annotation, */Handler h, String contextName) {
-    if (!scn.isJar()) {
-      scn.processClasses(this, packageName, h, contextName);
-    } else {
-      scn.processZipContent(packageName, this, h, contextName);
     }
   }
 

--
Gitblit v1.9.3