<div dir="ltr">True, didn&#39;t consider that. We could do it with Infinispan because the methods where actually there, just didn&#39;t work on the old version.<br><div><br></div><div>I can&#39;t see any other option then. Sucks to have to maintain all this different versions of the adapters.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 21 January 2016 at 20:27, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.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 bgcolor="#FFFFFF" text="#000000">
    You still have to have different jars as how would Wildfly9Impl and
    Wildfly10Impl compile?  Again, the type parameters used in Wildfly9
    don&#39;t exist in 10.  The ones used in 10 don&#39;t exist in 9.<div><div class="h5"><br>
    <br>
    <div>On 1/21/2016 2:19 PM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr"><font face="arial, helvetica, sans-serif">What I
          mean is:</font>
        <div><font face="arial, helvetica, sans-serif"><br>
          </font></div>
        <div><font color="#333333" face="monospace, monospace"><span style="line-height:20px">if
              (TheProblemClass.class.getMethod(&quot;..&quot;).getParameterTypes()[0].equals(SomeObject.class))
              {</span></font></div>
        <div><font color="#333333" face="monospace, monospace"><span style="line-height:20px">  return new WildFly9Impl();</span></font></div>
        <div><font color="#333333" face="monospace, monospace"><span style="line-height:20px">} else {</span></font></div>
        <div><font color="#333333" face="monospace, monospace"><span style="line-height:20px">  return new WildFly10Impl();</span></font></div>
        <div><font color="#333333" face="monospace, monospace"><span style="line-height:20px">}</span></font></div>
        <div><font color="#333333" face="arial, helvetica, sans-serif"><span style="line-height:20px"><br>
            </span></font></div>
        <div><font color="#333333" face="arial, helvetica, sans-serif"><span style="line-height:20px">Is that not simpler and easier
              for users than creating a whole new adapter dist?</span></font></div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On 21 January 2016 at 20:11, Bill
            Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.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 bgcolor="#FFFFFF" text="#000000"><span> <br>
                  <br>
                  <div>On 1/21/2016 1:43 PM, Stian Thorgersen wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr"><br>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On 21 January 2016 at
                          18:31, Bill Burke <span dir="ltr">&lt;<a href="mailto:bburke@redhat.com" target="_blank"></a><a href="mailto:bburke@redhat.com" target="_blank">bburke@redhat.com</a>&gt;</span>
                          wrote:<br>
                          <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I
                            need to create a separate adapter distro for
                            Wildfly 10 as it is not<br>
                            compatible with Wildfly 8 and 9.  To do
                            this, I need an explanation of<br>
                            the distribution directory for adapters<br>
                          </blockquote>
                          <div><br>
                          </div>
                          <div>Would it not be cleaner to incorporate
                            something in the adapter that uses different
                            classes depending on the undertow version?</div>
                        </div>
                      </div>
                    </div>
                  </blockquote>
                  <br>
                </span> No idea what  you mean.  The undertow
                class/method in question has a different signature
                between 8-9 and 10.  The method call has parameters
                whose types don&#39;t exist in one or the other&#39;s versions. 
                Basically I&#39;ll be creating a wildfly10-adapter-spi and
                wildfly9-adapter-spi jar that each have one class in
                them.  These modules are included in the adapter-spi
                module.  I just don&#39;t see any way around that.<span><br>
                  <br>
                  <pre cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a></pre>
                </span></div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a href="http://bill.burkecentral.com" target="_blank">http://bill.burkecentral.com</a></pre>
  </div></div></div>

</blockquote></div><br></div>