load on startup servlet equivalent for element

View: New views
3 Messages — Rating Filter:   Alert me  

load on startup servlet equivalent for element

by gabriel munteanu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


is there a tag that i can place inside my element xml file that calls
my initialize method automatically on startup of tomcat.

thanks in advance
gabi

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: load on startup servlet equivalent for element

by Coat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

You can override the deploy() method in your Element and place your
initialization code in there, that will get called when you deploy
your web app, or when tomcat starts up.

http://rifers.org/docs/api/com/uwyn/rife/engine/ElementDeployer.html

Kent

On Dec 18, 11:19 am, "gabriel munteanu" <jajali...@...> wrote:
> is there a tag that i can place inside my element xml file that calls
> my initialize method automatically on startup of tomcat.
>
> thanks in advance
> gabi
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: load on startup servlet equivalent for element

by gabriel munteanu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


thanks a lot.

gabi

On Fri, Dec 19, 2008 at 1:21 AM, Coat <kentsmith@...> wrote:

>
> Hello,
>
> You can override the deploy() method in your Element and place your
> initialization code in there, that will get called when you deploy
> your web app, or when tomcat starts up.
>
> http://rifers.org/docs/api/com/uwyn/rife/engine/ElementDeployer.html
>
> Kent
>
> On Dec 18, 11:19 am, "gabriel munteanu" <jajali...@...> wrote:
>> is there a tag that i can place inside my element xml file that calls
>> my initialize method automatically on startup of tomcat.
>>
>> thanks in advance
>> gabi
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 
 
 
Google
rifers.org web