Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » How to know when virgo finished loading all plugins
How to know when virgo finished loading all plugins [message #1017270] Mon, 11 March 2013 08:11 Go to next message
Ana Mising name is currently offline Ana Mising name
Messages: 4
Registered: March 2010
Junior Member

I need to execute some logic when my virgo server is up, and the web access is enabled.
What is the correct way to hook with the started event?
Re: How to know when virgo finished loading all plugins [message #1018800 is a reply to message #1017270] Thu, 14 March 2013 09:41 Go to previous messageGo to next message
Charlie Mordant is currently offline Charlie Mordant
Messages: 63
Registered: July 2010
Member

Hi,

What about a service tracker?
Re: How to know when virgo finished loading all plugins [message #1018823 is a reply to message #1018800] Thu, 14 March 2013 10:34 Go to previous messageGo to next message
Ana Mising name is currently offline Ana Mising name
Messages: 4
Registered: March 2010
Junior Member
Thanks for the idea,

Service tracking tracks some specific service, but as i understand the web access is disable until all plugins finish deployment, the number of plugins and their mixture can vary in our case, and i don't really know which one will be the last one.
Re: How to know when virgo finished loading all plugins [message #1018830 is a reply to message #1018823] Thu, 14 March 2013 10:45 Go to previous message
Charlie Mordant is currently offline Charlie Mordant
Messages: 63
Registered: July 2010
Member

I think that if you put your tracked service and your webapp in a scoped plan (with service starting at last), it will do the trick.
Previous Topic:Requiring org.slf4j.api causes uses violations in empty server
Next Topic:Problem deploying CXF JAX-RS services in Virgo
Goto Forum:
  


Current Time: Wed May 22 10:53:55 EDT 2013

Powered by FUDForum. Page generated in 0.01703 seconds