public class MetaClass extends TearOffSupport
Klass,
that retains some useful cache about a class and its views.WebApp.getMetaClass(Klass)| Modifier and Type | Field and Description |
|---|---|
MetaClass |
baseClass
Base metaclass.
|
MetaClassLoader |
classLoader
MetaClassLoader that wraps clazz.getClassLoader(). |
Class |
clazz
Deprecated.
as of 1.177
Use
klass. If you really want the Java class representation, use klass.toJavaClass(). |
List<Dispatcher> |
dispatchers |
Klass<?> |
klass |
static boolean |
NO_CACHE
Don't cache anything in memory, so that any change
will take effect instantly.
|
WebApp |
webApp
WebApp that owns this meta class. |
| Modifier and Type | Method and Description |
|---|---|
SingleLinkedList<MethodRef> |
getPostConstructMethods()
Returns all the methods in the ancestory chain annotated with
PostConstruct
from those defined in the derived type toward those defined in the base type. |
getTearOff, loadTearOff, setTearOffpublic final Class clazz
klass. If you really want the Java class representation, use klass.toJavaClass().public final Klass<?> klass
public final MetaClassLoader classLoader
MetaClassLoader that wraps clazz.getClassLoader().
Null if the class is loaded by the bootstrap classloader.public final List<Dispatcher> dispatchers
public final MetaClass baseClass
public static boolean NO_CACHE
public SingleLinkedList<MethodRef> getPostConstructMethods()
PostConstruct
from those defined in the derived type toward those defined in the base type.
Normally invocation requires visiting the list in the reverse order.Copyright © 2014. All rights reserved.