<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Extending FlowTrk class in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/extending-flowtrk-class/m-p/6917735#M1871</link>
    <description>&lt;P&gt;Hi HansChristian,&lt;/P&gt;&lt;P&gt;You're hitting this issue because FlowTrk is in a .impl package and those packages are not&amp;nbsp;exposed via OSGI. Such classes can be extended if your implementation were within the same bundle (com.hp.sdn.sdn-of-ctl), but unfortunately it is outside of the bundle and therefore cannot reference any classes in a .impl package.&lt;/P&gt;&lt;P&gt;If you were aiming to provide a different FlowTracker implementation, then you could still do that and have it get used by OSGI, but you couldn't extend the HPE implementation (yours would need to start from scratch).&lt;/P&gt;&lt;P&gt;If you can let us know a little more about what you're trying to accomplish, maybe we could offer some other options?&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;</description>
    <pubDate>Tue, 15 Nov 2016 20:50:41 GMT</pubDate>
    <dc:creator>ShaunWackerly</dc:creator>
    <dc:date>2016-11-15T20:50:41Z</dc:date>
    <item>
      <title>Extending FlowTrk class</title>
      <link>https://community.hpe.com/t5/software-defined-networking/extending-flowtrk-class/m-p/6916583#M1870</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there a way I can&amp;nbsp;extend&lt;SPAN&gt;com.hp.of.ctl.flow.impl.&lt;/SPAN&gt;&lt;SPAN&gt;FlowTrk?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My HP-specific dependencies are:&amp;nbsp;com.hp.sdn.sdn-of-lib,&amp;nbsp;com.hp.sdn.sdn-of-ctl,&amp;nbsp;com.hp.sdn.sdn-ctl-api&lt;BR /&gt;&lt;SPAN&gt;com.hp.of.ctl.flow.impl.&lt;/SPAN&gt;&lt;SPAN&gt;FlowTrk is included in dependency&amp;nbsp;&lt;SPAN&gt;com.hp.sdn.sdn-of-ctl&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But whenever I do something like this: &amp;nbsp;&lt;STRONG&gt;public class MyFlowTrk extends FlowTrk { ... }&lt;/STRONG&gt;&lt;BR /&gt;I get the following error:&amp;nbsp;&lt;STRONG&gt;An Import-Package could not be resolved. Resolver error data &amp;lt;Import-Package: com.hp.of.ctl.flow.impl; version="0.0.0"&amp;gt;. Caused by missing constraint in bundle&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2016 23:43:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/extending-flowtrk-class/m-p/6916583#M1870</guid>
      <dc:creator>HansChristian</dc:creator>
      <dc:date>2016-11-10T23:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Extending FlowTrk class</title>
      <link>https://community.hpe.com/t5/software-defined-networking/extending-flowtrk-class/m-p/6917735#M1871</link>
      <description>&lt;P&gt;Hi HansChristian,&lt;/P&gt;&lt;P&gt;You're hitting this issue because FlowTrk is in a .impl package and those packages are not&amp;nbsp;exposed via OSGI. Such classes can be extended if your implementation were within the same bundle (com.hp.sdn.sdn-of-ctl), but unfortunately it is outside of the bundle and therefore cannot reference any classes in a .impl package.&lt;/P&gt;&lt;P&gt;If you were aiming to provide a different FlowTracker implementation, then you could still do that and have it get used by OSGI, but you couldn't extend the HPE implementation (yours would need to start from scratch).&lt;/P&gt;&lt;P&gt;If you can let us know a little more about what you're trying to accomplish, maybe we could offer some other options?&lt;/P&gt;&lt;P&gt;Shaun&lt;/P&gt;</description>
      <pubDate>Tue, 15 Nov 2016 20:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/extending-flowtrk-class/m-p/6917735#M1871</guid>
      <dc:creator>ShaunWackerly</dc:creator>
      <dc:date>2016-11-15T20:50:41Z</dc:date>
    </item>
  </channel>
</rss>

