Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Application Life Cycle - PostContextCreate not called
Application Life Cycle - PostContextCreate not called [message #1786885] Mon, 14 May 2018 22:05 Go to next message
Ken Keefe is currently offline Ken KeefeFriend
Messages: 38
Registered: September 2009
Member
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 07:16 Go to previous messageGo to next message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 482
Registered: December 2010
Location: Germany
Senior Member
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 17:38 Go to previous message
Ken Keefe is currently offline Ken KeefeFriend
Messages: 38
Registered: September 2009
Member
That was it! Thank you!
Previous Topic:Styling Part Tabs
Next Topic:Headless RCP application
Goto Forum:
  


Current Time: Fri Apr 26 06:38:39 GMT 2024

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

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

Back to the top