org.kohsuke.stapler
Class MetaClass

java.lang.Object
  extended by org.kohsuke.stapler.TearOffSupport
      extended by org.kohsuke.stapler.MetaClass

public class MetaClass
extends TearOffSupport

The stapler version of the Class object, that retains some useful cache about a class and its view.

Author:
Kohsuke Kawaguchi
See Also:
WebApp.getMetaClass(Class)

Field Summary
 MetaClass baseClass
          Base metaclass.
 MetaClassLoader classLoader
          MetaClassLoader that wraps clazz.getClassLoader().
 java.lang.Class clazz
          This meta class wraps this class
 java.util.List<Dispatcher> dispatchers
           
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.
 
Method Summary
 
Methods inherited from class org.kohsuke.stapler.TearOffSupport
getTearOff, loadTearOff, setTearOff
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

public final java.lang.Class clazz
This meta class wraps this class


classLoader

public final MetaClassLoader classLoader
MetaClassLoader that wraps clazz.getClassLoader(). Null if the class is loaded by the bootstrap classloader.


dispatchers

public final java.util.List<Dispatcher> dispatchers

baseClass

public final MetaClass baseClass
Base metaclass. Note that baseClass.clazz==clazz.getSuperClass()


webApp

public final WebApp webApp
WebApp that owns this meta class.


NO_CACHE

public static boolean NO_CACHE
Don't cache anything in memory, so that any change will take effect instantly.



Copyright © 2011. All Rights Reserved.