Jarl

>>>
Can you specify a log level for one plugin? Ie: you want DEBUG level
for plugin YY, but ERROR for pluigin ZZ? (I count on that your using
log4j for logging :-)
<<<
I am sure you can, but I never did so myself. 

>>>
Can you load C plugins from the java plugin server? Easier to maintain
one distinct plugin server.
<<<
Yes you can. In a way, we have implemented a "reverse" of old plug-in
scenario (where a C native plug-in server used to host a C plug-in which
in turn created a VM to host Java code) -- where we have a Java wrapper
implementing new plug-in APIs, wrapping some native code that
dynamically loads/invokes calls on C plug-in DLL. So yes you can use
your existing C plug-ins and/or create new C plug-ins for deployment in
the new Java plug-in server. In this 7.1 release though, even the native
plug-in server is shipped. Probable use cases -- you're a native plug-in
user with no plans for Java plug-ins, you can simply use the native
plug-in server as were before; you have mixed usage of C/Java -- you
could deploy both plug-in servers side-by-side with C stuff on one and
Java stuff on other; Of course we definitely prefer you moving to new
plug-in server and hosting your legacy C plug-ins on it & creating your
new plug-ins using the all new Java SDK.


>>>
Does the java plugins get loaded when the pluginserver starts, or when
its first get accessed?
<<<
At plug-in server start-up time. The classes are loaded at start up,
after reading the config stuff. The static blocks (if any) are executed
and also optionally a static "init" method is called (if one is
implemented on your class) at this point. However the instances of your
plug-in class are instantiated as needed just prior to actual plug-in
call.

Regards
Appajee

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the 
Answers Are"

Reply via email to