Register / Login
Win a copy of
Murach's Python Programming
this week in the
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
OO, Patterns, UML and Refactoring
Help with reusing code from a Singleton class
posted 3 years ago
I have a SingletonClass1 in one project of which some features I reuse in a 2nd project.
some common methods
some common attributes
some common methods from SingletonClass1
some common attributes SingletonClass1
However since I cant inherit from Singletonclass1, how do I resolve this issue? I can set Project1 as a dependency/library in project2.
So I wan to reuse this SingletonClass1.
I can refactor this code, however lot of code in Project1 and other projects use this SingletonClass1. So I want to make sure I use the best approach here.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
Boost this thread!
Sharing External Jar files between projects
RAD6 - Web Library Projects
problem with jar file
Why reuse doesn't happen
Can some one please explain why do i need MAVEN here