Hi,
can any one please provide lists of annotations used in Jenkins.
There are many annotations , and it is difficult to find out , what these
annotations mean.
I am going through Jenkins code flow.
Hudson Web Application Entry Point
Stapler is initialized in the Web.xml and specified as Servlet
<servlet>
<servlet-name>Stapler</servlet-name>
<servlet-class>org.kohsuke.stapler.Stapler</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Stapler</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<listener>
<listener-class>hudson.WebAppMain</listener-class>
</listener>
Hudson Main
Object gets
Initialized
public class WebAppMain implements ServletContextListener {
public void contextInitialized(ServletContextEvent event) {
// Set Hudson Singleton as Root Object
Stapler.setRoot(event,Hudston.getInstance());
}
public void contextDestroyed(ServletContextEvent event) {
// Handle Hudson instance clean up
}
}
so, please elaborate..e.g what is code flow when we create any
project..starting from Hudson Web Application entry point.
It seems very difficult to understand code flow...without proper
documentation.
Thanks,
Varun
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/b217e6b7-6d1e-45fe-8d1f-c26b97568bb0%40googlegroups.com.