org.apache.hivemind.service
Interface ClassFactory
- All Known Implementing Classes:
- ClassFactoryImpl
- public interface ClassFactory
Service used when dynamically creating new classes.
- Author:
- Howard Lewis Ship
Method Summary |
ClassFab |
newClass(java.lang.String name,
java.lang.Class superClass,
java.lang.ClassLoader classLoader)
Creates a ClassFab object for the given name; the new class
is a subclass of the indicated class. |
newClass
public ClassFab newClass(java.lang.String name,
java.lang.Class superClass,
java.lang.ClassLoader classLoader)
- Creates a
ClassFab
object for the given name; the new class
is a subclass of the indicated class. The new class
is public and concrete.
- Parameters:
name
- the full qualified name of the class to createsuperClass
- the parent class, which is often java.lang.ObjectclassLoader
- the class loader to use when resolving classes (this is usually
provided by the containing Module
.