org.apache.cayenne.commitlog.meta.AnnotationCommitLogEntityFactory.class Maven / Gradle / Ivy
???? 7 ?
java/lang/Object ()V &java/util/concurrent/ConcurrentHashMap
Borg/apache/cayenne/commitlog/meta/AnnotationCommitLogEntityFactory entities $Ljava/util/concurrent/ConcurrentMap; channelProvider Lorg/apache/cayenne/di/Provider; org/apache/cayenne/ObjectId
getEntityName ()Ljava/lang/String; "java/util/concurrent/ConcurrentMap get &(Ljava/lang/Object;)Ljava/lang/Object; ! 1org/apache/cayenne/commitlog/meta/CommitLogEntity
# $ % createDescriptor G(Ljava/lang/String;)Lorg/apache/cayenne/commitlog/meta/CommitLogEntity; ' ( ) putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; + , - . org/apache/cayenne/di/Provider ()Ljava/lang/Object; 0 org/apache/cayenne/DataChannel / 2 3 4 getEntityResolver )()Lorg/apache/cayenne/map/EntityResolver;
2
7 8 9 : ; %org/apache/cayenne/map/EntityResolver getClassDescriptor @(Ljava/lang/String;)Lorg/apache/cayenne/reflect/ClassDescriptor; = > ? @ A *org/apache/cayenne/reflect/ClassDescriptor getObjectClass ()Ljava/lang/Class; C &org/apache/cayenne/commitlog/CommitLog
E F G H I java/lang/Class
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; K L M BLOCKED_ENTITY 3Lorg/apache/cayenne/commitlog/meta/CommitLogEntity;
7 O P Q getObjEntity 6(Ljava/lang/String;)Lorg/apache/cayenne/map/ObjEntity; S ;org/apache/cayenne/commitlog/meta/MutableCommitLogLogEntity
R U V %(Lorg/apache/cayenne/map/ObjEntity;)V B X Y Z confidential ()[Ljava/lang/String;
R \ ] ^ setConfidential R([Ljava/lang/String;)Lorg/apache/cayenne/commitlog/meta/MutableCommitLogLogEntity; B ` a Z ignoredProperties
R c d ^ setIgnoreProperties B f g h ignoreAttributes ()Z
R j k l setIgnoreAttributes @(Z)Lorg/apache/cayenne/commitlog/meta/MutableCommitLogLogEntity; B n o h ignoreToOneRelationships
R q r l setIgnoreToOneRelationships B t u h ignoreToManyRelationships
R w x l setIgnoreToManyRelationships z Dorg/apache/cayenne/commitlog/meta/AnnotationCommitLogEntityFactory$1
y } 8org/apache/cayenne/commitlog/meta/CommitLogEntityFactory Signature BLorg/apache/cayenne/di/Provider; kLjava/util/concurrent/ConcurrentMap; #(Lorg/apache/cayenne/di/Provider;)V Code LineNumberTable LocalVariableTable this DLorg/apache/cayenne/commitlog/meta/AnnotationCommitLogEntityFactory; LocalVariableTypeTable E(Lorg/apache/cayenne/di/Provider;)V "RuntimeVisibleParameterAnnotations Lorg/apache/cayenne/di/Inject; getEntity R(Lorg/apache/cayenne/ObjectId;)Lorg/apache/cayenne/commitlog/meta/CommitLogEntity;
newDescriptor existingDescriptor id Lorg/apache/cayenne/ObjectId;
entityName Ljava/lang/String;
descriptor
StackMapTable ? java/lang/String entityResolver 'Lorg/apache/cayenne/map/EntityResolver; classDescriptor ,Lorg/apache/cayenne/reflect/ClassDescriptor; a (Lorg/apache/cayenne/commitlog/CommitLog; entity "Lorg/apache/cayenne/map/ObjEntity;
SourceFile %AnnotationCommitLogEntityFactory.java NestMembers InnerClasses ! | L M ~ ~ ? ? ? g *? *? Y? ?
*+? ? ? = > B C ? ? ? ? ~ ? ? ? ? ? ? ? @+? M*?
,? ? N-? (*,? ":*?
,? & ? :? ? N-? ? G I J K L 1 M > P ? > ? M 1
? M @ ? ? @ ? ? 9 ? ? + ? M ? " ? ; ? A ? 3 4 ? <