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 / [email protected] On Sat, Apr 9, 2016 at 7:09 AM, Mohan Kumar G <[email protected]> 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 <[email protected]> > 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 > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
