org.apache.hivemind.service
Interface InterfaceFab

All Known Implementing Classes:
InterfaceFabImpl

public interface InterfaceFab

A cousin to ClassFab used 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

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


addMethod

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


createInterface

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



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.