org.apache.tapestry5.ioc.internal.services
Interface CtClassSource

All Known Implementing Classes:
CtClassSourceImpl

public interface CtClassSource

Used when generating new classes on the fly.

See Also:
ClassFactory

Method Summary
 Class createClass(javassist.CtClass ctClass)
          Used after constructing the CtClass fully, to convert it into a Class ready to be instantiated.
 int getCreatedClassCount()
          Returns the number of classes created.
 javassist.CtClass newClass(String name, Class superClass)
          Createa a new CtClass instance.
 javassist.CtClass toCtClass(Class searchClass)
          Converts an existing class to a CtClass instance.
 javassist.CtClass toCtClass(String name)
          Converts a class name to a CtClass instance.
 

Method Detail

getCreatedClassCount

int getCreatedClassCount()
Returns the number of classes created.


toCtClass

javassist.CtClass toCtClass(Class searchClass)
Converts an existing class to a CtClass instance.


toCtClass

javassist.CtClass toCtClass(String name)
Converts a class name to a CtClass instance.


newClass

javassist.CtClass newClass(String name,
                           Class superClass)
Createa a new CtClass instance.


createClass

Class createClass(javassist.CtClass ctClass)
Used after constructing the CtClass fully, to convert it into a Class ready to be instantiated.



Copyright © 2003-2012 The Apache Software Foundation.