org.apache.hivemind.service.impl
Class InterfaceFabImpl

java.lang.Object
  extended by org.apache.hivemind.service.impl.AbstractFab
      extended by org.apache.hivemind.service.impl.InterfaceFabImpl
All Implemented Interfaces:
InterfaceFab

public class InterfaceFabImpl
extends AbstractFab
implements InterfaceFab

Author:
Howard M. Lewis Ship

Constructor Summary
InterfaceFabImpl(CtClassSource source, javassist.CtClass ctClass)
           
 
Method Summary
 void addMethod(MethodSignature ms)
          Adds the method to the interface.
 java.lang.Class createInterface()
          Creates a Class object for the fabricated interface.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.hivemind.service.impl.AbstractFab
addInterface, canConvert, convertClass, convertClasses, createClass, getCtClass, getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.service.InterfaceFab
addInterface
 

Constructor Detail

InterfaceFabImpl

public InterfaceFabImpl(CtClassSource source,
                        javassist.CtClass ctClass)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

addMethod

public void addMethod(MethodSignature ms)
Description copied from interface: InterfaceFab
Adds the method to the interface. Interface methods are always public.

Specified by:
addMethod in interface InterfaceFab

createInterface

public java.lang.Class createInterface()
Description copied from interface: InterfaceFab
Creates a Class object for the fabricated interface.

Specified by:
createInterface in interface InterfaceFab


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