org.apache.tapestry5.ioc.internal.services
Class AbstractFab

java.lang.Object
  extended by org.apache.tapestry5.ioc.internal.services.AbstractFab
Direct Known Subclasses:
ClassFabImpl

public class AbstractFab
extends Object

Base class for ClassFabImpl. This code is a fork from HiveMind; it is kept seperate from ClassFabImpl in case we want to re-introduce the idea of an InterfaceFab.


Field Summary
protected  OneShotLock lock
           
 
Constructor Summary
AbstractFab(CtClassSource source, javassist.CtClass ctClass, org.slf4j.Logger logger)
           
 
Method Summary
 void addInterface(Class interfaceClass)
           
 Class createClass()
           
protected  javassist.CtClass getCtClass()
           
protected  org.slf4j.Logger getLogger()
           
protected  CtClassSource getSource()
           
protected  javassist.CtClass toCtClass(Class inputClass)
           
protected  javassist.CtClass[] toCtClasses(Class[] inputClasses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lock

protected final OneShotLock lock
Constructor Detail

AbstractFab

public AbstractFab(CtClassSource source,
                   javassist.CtClass ctClass,
                   org.slf4j.Logger logger)
Method Detail

addInterface

public void addInterface(Class interfaceClass)

toCtClasses

protected javassist.CtClass[] toCtClasses(Class[] inputClasses)

toCtClass

protected javassist.CtClass toCtClass(Class inputClass)

createClass

public Class createClass()

getCtClass

protected javassist.CtClass getCtClass()

getSource

protected CtClassSource getSource()

getLogger

protected org.slf4j.Logger getLogger()


Copyright © 2003-2012 The Apache Software Foundation.