I'm making a program that will basically allow for Application plugins(almost like the APK "Plugins" for android) that is basically an abstract class called Application,
with a method called OnStart();
I want to be able to allow a user to extends the Application class, make their own application, serialize it using an ObjectOutputStream, and put it in the folder that is designated to application installation in my program.
From there, the program will "install it" (aka, Deserialize the user's application) and be able to run it. The problem is, is when I go to make a new class, and extend the abstract Application class, it gives the new class it's own serialization ID.
This will not allow
java to load it up as an extension of the abstract class Application, as it has it's own ID.
Any input, as to how I can resolve this?
Thanks![