<div dir="ltr"><div><div><div><div><div>Hey,<br><br></div>There is no direct mapping available but most of the stuff you are mentioning is available as part of servlet spec.<br></div><div>so no need for some special servlet container specific classes.<br></div>Except maybe ContainerListener as Undertow has no such facility or at least not in such format.<br></div><br>Also take a look at ServletExtension <a href="http://undertow.io/documentation/servlet/servlet-extensions.html">http://undertow.io/documentation/servlet/servlet-extensions.html</a> as it provides <br></div>a entry point for extending standard servlet deployments with undetrow specifics.<br><br>--<br></div>tomaz<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 25, 2014 at 11:23 PM, Vladimir Manolov <span dir="ltr">&lt;<a href="mailto:vladimirmanolov@hotmail.com" target="_blank">vladimirmanolov@hotmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Dear Undertow-Team,<div><br></div><div>I am interested in running portlets on a WildFly application server and need to get GateIn integrated inside. For that I assume a GateIn WCI is required to hook into Undertow. I am not quite sure how to do that. A GateIn WCI integration used to be done by implementing this type of class:</div><div><br></div><div><font face="Courier New">import org.apache.catalina.ContainerListener;</font></div><div><font face="Courier New">import org.apache.catalina.LifecycleListener;</font></div><div><font face="Courier New">import org.gatein.wci.spi.ServletContainerContext;</font></div><div><font face="Courier New"><br></font></div><div><font face="Courier New">public class <b>MyServletContainerContext</b> implements <b>ServletContainerContext</b>, <b>ContainerListener</b>, <b>LifecycleListener</b></font></div><div><br></div><div><br></div><div>I am looking for a the classes in Undertow that provide the same type of functionality: hook into the container lifecycle and react on container events.</div><div><br></div><div>As a reference I am using the gatein-wci project on github: <a href="https://github.com/gatein/gatein-wci" target="_blank">https://github.com/gatein/gatein-wci</a> or <a href="https://github.com/gatein/gatein-wci/blob/master/jboss/jboss7/src/main/java/org/gatein/wci/jboss/JB7ServletContainerContext.java" target="_blank">https://github.com/gatein/gatein-wci/blob/master/jboss/jboss7/src/main/java/org/gatein/wci/jboss/JB7ServletContainerContext.java</a></div><div><br></div><div>It would great if you could just help me get started.</div><div><br></div><div>Best regards,</div><div>Vladimir Manolov</div><div><br></div><div>PS: I found this jira-task which is still open: <a href="https://issues.jboss.org/browse/GTNWCI-48" target="_blank">https://issues.jboss.org/browse/GTNWCI-48</a></div><div><br></div></div><br>_______________________________________________<br>
undertow-dev mailing list<br>
<a href="mailto:undertow-dev@lists.jboss.org">undertow-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/undertow-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/undertow-dev</a><br></blockquote></div><br></div>