Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`java.lang.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(java.lang.String name, java.lang.Class superClass)` Createa a new CtClass instance.
`javassist.CtClass` | `toCtClass(java.lang.Class searchClass)` Converts an existing class to a CtClass instance.
`javassist.CtClass` | `toCtClass(java.lang.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(java.lang.Class searchClass)

  Converts an existing class to a CtClass instance.

### toCtClass

    javassist.CtClass toCtClass(java.lang.String name)

  Converts a class name to a CtClass instance.

### newClass

    javassist.CtClass newClass(java.lang.String name,
                               java.lang.Class superClass)

  Createa a new CtClass instance.

### createClass

    java.lang.Class createClass(javassist.CtClass ctClass)

  Used after constructing the CtClass fully, to convert it into a Class ready to be instantiated.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.