From 40f0b0d27ec38c97fadb4c64dba6855c6ee2e904 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Sun, 01 Dec 2024 17:15:08 +0000
Subject: [PATCH] Kommantare ergaenzt

---
 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