public class EnhancementContextImpl extends DefaultEnhancementContext
| Constructor and Description |
|---|
EnhancementContextImpl(Collection<String> classNames,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
ClassLoader |
getLoadingClassLoader()
Obtain access to the ClassLoader that can be used to load Class references.
|
boolean |
isCompositeClass(javassist.CtClass classDescriptor)
look for @Embeddable annotation
|
boolean |
isEntityClass(javassist.CtClass classDescriptor)
look for @Entity annotation
|
doBiDirectionalAssociationManagement, doDirtyCheckingInline, doFieldAccessEnhancement, hasLazyLoadableAttributes, isLazyLoadable, isMappedCollection, isPersistentField, orderpublic EnhancementContextImpl(Collection<String> classNames, ClassLoader classLoader)
public ClassLoader getLoadingClassLoader()
EnhancementContextPersistenceUnitInfo.getNewTempClassLoader()getLoadingClassLoader in interface EnhancementContextgetLoadingClassLoader in class DefaultEnhancementContextpublic boolean isEntityClass(javassist.CtClass classDescriptor)
DefaultEnhancementContextisEntityClass in interface EnhancementContextisEntityClass in class DefaultEnhancementContextclassDescriptor - The descriptor of the class to check.true if the class is an entity; false otherwise.public boolean isCompositeClass(javassist.CtClass classDescriptor)
DefaultEnhancementContextisCompositeClass in interface EnhancementContextisCompositeClass in class DefaultEnhancementContextclassDescriptor - The descriptor of the class to check.true if the class is an embeddable/component; false otherwise.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.