Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Application Life Cycle - PostContextCreate not called
Application Life Cycle - PostContextCreate not called [message #1786885] Mon, 14 May 2018 18:05 Go to next message
Eclipse UserFriend
I've read several blog posts that talk about doing startup tasks during application startup by registering an application life cycle manager in the product definition. I've done that, but for some reason, the method annotated with @PostContextCreate is never called.

It does call the @ProcessAdditions, @ProcessRemovals, and @PreSave methods as I would expect. It just never calls the @PostContextCreate. Any thoughts?
Re: Application Life Cycle - PostContextCreate not called [message #1786896 is a reply to message #1786885] Tue, 15 May 2018 03:16 Go to previous messageGo to next message
Eclipse UserFriend
I had this kind of behaviour if I tried to inject something that was not available yet.
Try removing all parameters. Is the method called now?
Re: Application Life Cycle - PostContextCreate not called [message #1786923 is a reply to message #1786896] Tue, 15 May 2018 13:38 Go to previous message
Eclipse UserFriend
That was it! Thank you!
Previous Topic:Styling Part Tabs
Next Topic:Headless RCP application
Goto Forum:
  


Current Time: Mon Jul 07 01:43:22 EDT 2025

Powered by FUDForum. Page generated in 0.06721 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top