i have an application that uses hybernate for persistence in java, but at the same time i use a classloader for importing pluggins to the application.
My problem is that i dunno the name of the class i have in a table, i know the name of the interface or the abstract class that is implement or extended... and when i use in the xml for example:
Code:
<class
name="Node"
table="node"
>
Node should be the father class... and is the class that is extended from all the pluggins i want to load from outside the application.
The application load the father class when i want to load an external class that is in a pluggin... i know the name of the class at execution time, but i don't know how can i load it propperly for using it as the son, and not as the father...
can anybody help me?
Thanks to all! and sorry about my pour english ;)