Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] After server and application deployed steps

CDI and its scopes are likely to bite you here.

Look into the DeploymentManager and its Bindings.
Create a binding that fits your needs and base your logic off of that.


Joakim Erdfelt / joakim@xxxxxxxxxxx

On Sat, Apr 9, 2016 at 7:09 AM, Mohan Kumar G <mohan.gundappa@xxxxxxxxx> wrote:
Any help on this?


Hi All,

I need to perform automatically some steps after Jetty is started and application is deployed.

We are using CDI (Weld provided by Jetty). 

I wrote an extension to observe "AfterDeploymentValidation" event.

This observable is triggering after deployment as I am see with some system out statements.

However Any injected objects in this class are still NULL.

Can you please suggest how to address the above need?

Thanks and Regards

On Thu, Apr 7, 2016 at 1:44 PM, Mohan Kumar G <mohan.gundappa@xxxxxxxxx> wrote:
Hi All,

I need to perform automatically some steps after Jetty is started and application is deployed.

We are using CDI (Weld provided by Jetty). 

I wrote an extension to observe "AfterDeploymentValidation" event.

This observable is triggering after deployment as I am see with some system out statements.

However Any injected objects in this class are still NULL.

Can you please suggest how to address the above need?

Thanks and Regards
Mohan


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top