[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Changes to DefaultClassLoader and EclipseClassLoader

To allow for more flexiblity to FrameworkAdaptor developers the DefaultClassLoader and EclipseClassLoader have been change.

The changes allow for a FrameworkAdaptor to have more control over the construction and use of ClasspathEntry objects.  A new protected method was added to DefaultClassLoader:

protected ClasspathEntry createClassPathEntry(BundleFile, ProtectionDomain)

This allows Framework adaptors to extend DefaultClassLoader and to provide their own implementation of ClasspathEntry class.  The defineClass and findClassImpl have been changed to accept a ClasspathEntry instead of a separate ProtectionDomain and BundleFile arguments.

Thomas Watson