org.apache.hivemind.service.impl
Class AbstractFab

java.lang.Object
  extended by org.apache.hivemind.service.impl.AbstractFab
Direct Known Subclasses:
ClassFabImpl, InterfaceFabImpl

public class AbstractFab
extends java.lang.Object

Common code for ClassFabImpl and InterfaceFabImpl.

Since:
1.1
Author:
Howard M. Lewis Ship

Constructor Summary
AbstractFab(CtClassSource source, javassist.CtClass ctClass)
           
 
Method Summary
 void addInterface(java.lang.Class interfaceClass)
           
 boolean canConvert(java.lang.Class inputClass)
           
protected  javassist.CtClass convertClass(java.lang.Class inputClass)
           
protected  javassist.CtClass[] convertClasses(java.lang.Class[] inputClasses)
           
 java.lang.Class createClass()
           
protected  javassist.CtClass getCtClass()
           
protected  CtClassSource getSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFab

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

addInterface

public void addInterface(java.lang.Class interfaceClass)

convertClasses

protected javassist.CtClass[] convertClasses(java.lang.Class[] inputClasses)

canConvert

public boolean canConvert(java.lang.Class inputClass)

convertClass

protected javassist.CtClass convertClass(java.lang.Class inputClass)
Since:
1.1

createClass

public java.lang.Class createClass()

getCtClass

protected javassist.CtClass getCtClass()

getSource

protected CtClassSource getSource()


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