Jarl,
What's not to like about it? Maybe it isn't the most efficient way, but init
is just once per thread. For long running processes like the plugin server
that's just a minor overhead for the first user(s) of the plugin server.
Multiple plugin servers will just make your life harder I think.
Exaclty; not very efficient. And its behave different from the C plugins...
--
Jarl
On 10/10/07, Hugo Visser [EMAIL PROTECTED] wrote:
** Jarl,
What's not to like about it? Maybe it isn't the most efficient way, but init
is just once per thread. For long running processes like the plugin
I also see if you have several plugins, all loads the initialize()
method when the first plugin are accessed.
I really dont like this method doing it, seems like there is a need
for several plugin-servers.
--
Jarl
On 10/4/07, Jarl Grøneng [EMAIL PROTECTED] wrote:
Hi,
Found this
.
Dan
- Original Message -
*From:* Jarl Grøneng [EMAIL PROTECTED]
*Newsgroups:* public.remedy.arsystem.general
*To:* arslist@ARSLIST.ORG
*Sent:* Wednesday, October 03, 2007 12:59 PM
*Subject:* Re: Plugin and initialize() method
**
I dont see how the servlets fits in here? I
:public.remedy.arsystem.general
To: arslist@ARSLIST.ORG
Sent: Wednesday, October 03, 2007 12:59PM
Subject: Re: Plugin and initialize()method
**
I dont see how the servlets fits in here? I wrote a javabased plugin,
and loaded it trough the java pluginserver.
--
Jarl
On 10/3/07, Dan
Jarl,
I think there might be a bit of confusion due to the terms used...
I think it is more like this...
Ref: Integrating-710.pdf pg 102
Figure 7-2: C plug-in call sequence
ARPluginIdentify ()
ARPluginSetProperties ()
ARPluginInitialization ()
ARPluginCreateInstance() -- one or more times
For the C plug-ins, ARPluginCreateInstance and ARPluginDeleteInstance
are called each time a plug-in is called.
These 3 are called when the plug-in server starts:
ARPluginIdentify ()
ARPluginSetProperties ()
ARPluginInitialization ()
ARPluginDeleteInstance is called before the plug-in call (from
I have no proble understand how the plugin-server handle these
funstion. But it seems that there is a difference in how a C and Java
plugin behave.
TAnd the plugin documentation states this:
initialize(ARPluginContext context)
An initialization routine called once at startup load time for each
-
From: Jarl Grøneng [EMAIL PROTECTED]
Newsgroups: public.remedy.arsystem.general
To: arslist@ARSLIST.ORG
Sent: Thursday, October 04, 2007 7:56 AM
Subject: Re: Plugin and initialize() method
I have no proble understand how the plugin-server handle these
funstion. But it seems
Right, the way I read the javadoc I understand that the initialize will be
called once the plugin is loaded. From the javadoc I can not tell for sure
if that moment is the plugin server is started. It's not clear what is meant
with at startup load time...It could be the plugin server start up, but
Hi,
Found this documentation, and this put a new ligth on my initial question.
---
All plugins can implement a public void static init(ARPluginContext
context) method to do all intialization for this class. This will be
invoked once for each class that implements one of the
From the documentaion, the function:
public void initialize(ARPluginContext context) throws ARException {}
should be loaded when the pluginserver start.
An initialization routine called once at startup load time for each
plugin that is loaded. The plugin can do all its initialization and
setup in
I have a C based arfilter plug-in. The logs are available at:
http://arswiki.org/projects/arfprng/wiki/UserDocs
Looks like ARPluginInitialization is only called when the plug-in
server is started.
Axton
On 10/3/07, Jarl Grøneng [EMAIL PROTECTED] wrote:
From the documentaion, the function:
Thanks,
Then it seems like there is a difference in how the java plugin-server
loads the java-plugin.
--
Jarl
On 10/3/07, Axton [EMAIL PROTECTED] wrote:
I have a C based arfilter plug-in. The logs are available at:
http://arswiki.org/projects/arfprng/wiki/UserDocs
Looks like
: public.remedy.arsystem.general
To: arslist@ARSLIST.ORG
Sent: Wednesday, October 03, 2007 9:47 AM
Subject: Re: Plugin and initialize() method
Thanks,
Then it seems like there is a difference in how the java plugin-server
loads the java-plugin.
--
Jarl
On 10/3/07, Axton [EMAIL PROTECTED] wrote:
I have a C based
: Wednesday, October 03, 2007 12:59 PM
Subject: Re: Plugin and initialize() method
**
I dont see how the servlets fits in here? I wrote a java based plugin, and
loaded it trough the java plugin server.
--
Jarl
On 10/3/07, Dan Reitan [EMAIL PROTECTED] wrote:
Jarl,
I can confirm
16 matches
Mail list logo