Loading extra Frameworks with EOModels at runtime
Loading extra Frameworks with EOModels at runtime
- Subject: Loading extra Frameworks with EOModels at runtime
- From: Stefan Foulis <email@hidden>
- Date: Fri, 21 May 2004 09:08:18 +0200
I'm looking for a solution to load extra Frameworks (containing
EOModels and custom EO classes) at runtime.
The main idea is to have a slim core Framework that loads a bunch of
other frameworks (as jar-bundles?) from a specific directory at
runtime, kind of like modules or plug-ins.
I figured out that I'd probably have to load the jar file with an
NSBundle. Checking the NSBundle Reference Documentation it seems like
this is not possible at all:
NSBundle:
public boolean load()
Deprecated. Don't use this method since "Dynamic loading" is no longer
supported. The default ClassLoader does not allow true dynamic class
loading, it loads only those classes in the classpath at launch time.
Returns:
true if bundle loaded at application startup, false otherwise
Does anyone know a solution on how to load a framework at runtime?
any help is greatly appreciated.
steven
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.