|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.service.impl.ClassFactoryImpl
public class ClassFactoryImpl
Implementation of ClassFactory
.
Constructor Summary | |
---|---|
ClassFactoryImpl()
|
Method Summary | |
---|---|
int |
getCreatedClassCount()
Returns the number of classes (and interfaces) actually created. |
ClassFab |
newClass(java.lang.String name,
java.lang.Class superClass)
Creates a ClassFab object for the given name; the new class is a subclass of the
indicated class. |
InterfaceFab |
newInterface(java.lang.String name)
Creates a new InterfaceFab object with the given name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClassFactoryImpl()
Method Detail |
---|
public ClassFab newClass(java.lang.String name, java.lang.Class superClass)
ClassFactory
ClassFab
object for the given name; the new class is a subclass of the
indicated class. The new class is public and concrete.
Incompatible change from 1.0: The module parameter has been removed.
newClass
in interface ClassFactory
name
- the full qualified name of the class to createsuperClass
- the parent class, which is often java.lang.Objectpublic InterfaceFab newInterface(java.lang.String name)
ClassFactory
InterfaceFab
object with the given name.
newInterface
in interface ClassFactory
public int getCreatedClassCount()
ClassFactory
getCreatedClassCount
in interface ClassFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |