APIdia Launch Partner
Top Description Fields Constructors Methods
java.beans

pack-priv final Class ThreadGroupContext

extends Object
Class Inheritance
Imports
com.sun.beans.finder.BeanInfoFinder, .PropertyEditorFinder, java.awt.GraphicsEnvironment, java.util.Map, .WeakHashMap

The ThreadGroupContext is an application-dependent context referenced by the specific ThreadGroup.
Author
Sergey Malenkov

Field Summary

Modifier and TypeField and Description
private Map<Class<?>, BeanInfo>
private BeanInfoFinder
private static final WeakIdentityMap<ThreadGroupContext>
private volatile boolean
private volatile Boolean
private PropertyEditorFinder

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv synchronized void
pack-priv synchronized BeanInfo
getBeanInfo(Class<?> type)

pack-priv synchronized BeanInfoFinder
pack-priv static ThreadGroupContext

Returns:

the application-dependent context
getContext
()

Returns the appropriate ThreadGroupContext for the caller, as determined by its ThreadGroup.

pack-priv synchronized PropertyEditorFinder
pack-priv boolean
pack-priv boolean
pack-priv synchronized BeanInfo
putBeanInfo(Class<?> type, BeanInfo info)

pack-priv synchronized void
pack-priv void
setDesignTime(boolean isDesignTime)

pack-priv void
setGuiAvailable(boolean isGuiAvailable)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

beanInfoCacheback to summary
private Map<Class<?>, BeanInfo> beanInfoCache
beanInfoFinderback to summary
private BeanInfoFinder beanInfoFinder
contextsback to summary
private static final WeakIdentityMap<ThreadGroupContext> contexts
isDesignTimeback to summary
private volatile boolean isDesignTime
isGuiAvailableback to summary
private volatile Boolean isGuiAvailable
propertyEditorFinderback to summary
private PropertyEditorFinder propertyEditorFinder

Constructor Detail

ThreadGroupContextback to summary
private ThreadGroupContext()

Method Detail

clearBeanInfoCacheback to summary
pack-priv synchronized void clearBeanInfoCache()
getBeanInfoback to summary
pack-priv synchronized BeanInfo getBeanInfo(Class<?> type)
getBeanInfoFinderback to summary
pack-priv synchronized BeanInfoFinder getBeanInfoFinder()
getContextback to summary
pack-priv static ThreadGroupContext getContext()

Returns the appropriate ThreadGroupContext for the caller, as determined by its ThreadGroup.

Returns:ThreadGroupContext

the application-dependent context

getPropertyEditorFinderback to summary
pack-priv synchronized PropertyEditorFinder getPropertyEditorFinder()
isDesignTimeback to summary
pack-priv boolean isDesignTime()
isGuiAvailableback to summary
pack-priv boolean isGuiAvailable()
putBeanInfoback to summary
pack-priv synchronized BeanInfo putBeanInfo(Class<?> type, BeanInfo info)
removeBeanInfoback to summary
pack-priv synchronized void removeBeanInfo(Class<?> type)
setDesignTimeback to summary
pack-priv void setDesignTime(boolean isDesignTime)
setGuiAvailableback to summary
pack-priv void setGuiAvailable(boolean isGuiAvailable)