Package io.jmix.eclipselink.impl.mapping
Class EnhancementCheckDescriptorProcessor
java.lang.Object
io.jmix.eclipselink.impl.mapping.EnhancementCheckDescriptorProcessor
- All Implemented Interfaces:
DescriptorProcessor
@Component("eclipselink_EnhancementCheckDescriptorProcessor")
public class EnhancementCheckDescriptorProcessor
extends Object
implements DescriptorProcessor
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.core.env.Environment
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static boolean
isJmixEnhanced
(Class<?> entityClass) protected static boolean
isPersistenceObject
(Class<?> entityClass) protected static boolean
isPersistenceWeaved
(Class<?> entityClass) protected static boolean
isPersistenceWeavedFetchGroups
(Class<?> entityClass) void
process
(DescriptorProcessorContext context) Updates entity descriptor according to the processor's aim.
-
Field Details
-
environment
@Autowired protected org.springframework.core.env.Environment environment -
enhancingChecks
-
-
Constructor Details
-
EnhancementCheckDescriptorProcessor
public EnhancementCheckDescriptorProcessor()
-
-
Method Details
-
process
Description copied from interface:DescriptorProcessor
Updates entity descriptor according to the processor's aim.- Specified by:
process
in interfaceDescriptorProcessor
- Parameters:
context
- Context data contains objects that cannot be injected.
-
isJmixEnhanced
-
isPersistenceObject
-
isPersistenceWeaved
-
isPersistenceWeavedFetchGroups
-