Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind.service
Interface ClassFactory  view ClassFactory download ClassFactory.java


public interface ClassFactory

Service used when dynamically creating new classes.


Method Summary
 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.
 

Method Detail

newClass

public 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. The new class is public and concrete.

Incompatible change from 1.0: The module parameter has been removed.


newInterface

public InterfaceFab newInterface(java.lang.String name)
Creates a new InterfaceFab object with the given name.

Since:
1.1