Yeah, or more simply, you could just add a ServletContextListener to the
portal application and do whatever you need to do in the contextInitialized
method.

On 2/14/06, Joachim Müller <[EMAIL PROTECTED]> wrote:
>
> Hi.
>
> I've found a way to hook into (re)deployment without changing the
> Jetspeed codebase. I just define a new Servlet (i.e. SchedulerServlet)
> in the web.xml of the portal application and tell the application server
> to load it on startup.
>
> Implementing the init and the destroy method of the servlet gives me the
> power to startup and shut down processes on deploy, redeploy, undeploy
> of the application.
>
> Regards,
> Joachim
>
>
>
>
> David Sean Taylor wrote:
> > Joachim Müller wrote:
> >> Hi.
> >>
> >> I there a way to hook into the deployment process when a portal
> >> application is (re)deployed? I need a kind of "startup method" of the
> >> portal application to start some background processes of the
> application.
> >>
> >> thanks, regards,
> >>
> >> joachim
> >>
> >>
> > yes, you can either extend the PortletApplicationManager (PAM) impl
> > or hook into the JetspeedContainerServlet's startPortletApplication
> > method (which calls back into the PAM) although the second method may be
> > more useful to easier get your webapps class loader
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
>
> . frankfurt am main, 3°c, die gefühlte temperatur
>   liegt bei 0°c. zur zeit ein wenig bewölkt in 122 m.
>   bewölkt 335 m. die sichtweite reicht 2800 m. zur
>   zeit leicht niesel plus dunstig.
>
> < joachim müller
>   [EMAIL PROTECTED]
>   t +49 69 759003 11
>
>   wemove digital solutions GmbH
>   www.wemove.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to