Re: [DISCUSS] Refactor the PlcDriverManager in Java?

2023-01-09 Thread Christofer Dutz
] Refactor the PlcDriverManager in Java? Hey Chris, I second approach with interfaces as it clearly cuts implementation and declaration of operations. It could also help people who use OSGi because making a PlcDriverManager valid osgi service will be easier (lighter) with interface. It boils down to

Re: [DISCUSS] Refactor the PlcDriverManager in Java?

2023-01-08 Thread Łukasz Dywicki
Hey Chris, I second approach with interfaces as it clearly cuts implementation and declaration of operations. It could also help people who use OSGi because making a PlcDriverManager valid osgi service will be easier (lighter) with interface. It boils down to runtime where proxy for interface

Re: [DISCUSS] Refactor the PlcDriverManager in Java?

2023-01-08 Thread Christofer Dutz
Date: Sunday, 8. January 2023 at 15:36 To: dev@plc4x.apache.org Subject: [DISCUSS] Refactor the PlcDriverManager in Java? Hi all, I’m currently working on a new Connection Cache for Java and have stumbled over two things: The one is the fact, that the PlcDriverManager is a class and not an

[DISCUSS] Refactor the PlcDriverManager in Java?

2023-01-08 Thread Christofer Dutz
Hi all, I’m currently working on a new Connection Cache for Java and have stumbled over two things: The one is the fact, that the PlcDriverManager is a class and not an interface. This makes it problematic for me to have the PlcDriverManager implement the same interface. I could probably overri