org.apache.hivemind.service
Interface InterfaceFab

All Known Implementing Classes:
InterfaceFabImpl

public interface InterfaceFab

A cousin to ClassFabused to create new interfaces.

Since:
1.1
Author:
Howard M. Lewis Ship

Method Summary
 void addInterface(java.lang.Class interfaceClass)
          Adds the specified interface as an interface extended by this interface.
 void addMethod(MethodSignature signature)
          Adds the method to the interface.
 java.lang.Class createInterface()
          Creates a Class object for the fabricated interface.
 

Method Detail

addInterface

public void addInterface(java.lang.Class interfaceClass)
Adds the specified interface as an interface extended by this interface.


addMethod

public void addMethod(MethodSignature signature)
Adds the method to the interface. Interface methods are always public.


createInterface

public java.lang.Class createInterface()
Creates a Class object for the fabricated interface.