views:

7

answers:

0

I'm trying to extend the JMF implementation for custom data sources in a custom environment. My JMF implementation is packed to a jar file (only class files, all obfuscated).

The JMF's package manager uses reflection to instantiate a class. It looks into one of the following packages for the desired class: javax, com.sun, com.ibm. All those packages are present in the jar file.

I need to create custom classes, for instance, in the javax package. I created a javax package (directory) and put my custom classes into it. I expected that the javax package would be considered as the same package defined into the jar file, like if the different javax packages where merged into one. However, the JMF package manager couldn't find my custom classes.

Am I expecting something impossible?

Thanks very much.