Class CrudMethodMetadataAccessingPostProcessor

java.lang.Object
io.jmix.core.impl.repository.support.method_metadata.CrudMethodMetadataAccessingPostProcessor
All Implemented Interfaces:
CrudMethodMetadata.Accessor, org.springframework.data.repository.core.support.RepositoryProxyPostProcessor

public class CrudMethodMetadataAccessingPostProcessor extends Object implements org.springframework.data.repository.core.support.RepositoryProxyPostProcessor, CrudMethodMetadata.Accessor
RepositoryProxyPostProcessor to add interceptor designated for determining and storing CrudMethodMetadata information for currently invoked JmixDataRepository method. Implements CrudMethodMetadata.Accessor to access stored metadata.

Based on org.springframework.data.jpa.repository.support.CrudMethodMetatdataPostProcessor logic.

  • Constructor Details

    • CrudMethodMetadataAccessingPostProcessor

      public CrudMethodMetadataAccessingPostProcessor()
  • Method Details

    • postProcess

      public void postProcess(org.springframework.aop.framework.ProxyFactory factory, org.springframework.data.repository.core.RepositoryInformation repositoryInformation)
      Specified by:
      postProcess in interface org.springframework.data.repository.core.support.RepositoryProxyPostProcessor
    • getCrudMethodMetadata

      public CrudMethodMetadata getCrudMethodMetadata()
      Specified by:
      getCrudMethodMetadata in interface CrudMethodMetadata.Accessor