package com.l7tech.external.assertions.gatewaymanagement.server;

import com.l7tech.objectmodel.ObjectModelException;
import com.l7tech.objectmodel.PersistentEntity;
import com.l7tech.util.Functions.UnaryThrows;

class aj implements UnaryThrows<R, E, ObjectModelException> {
   final EntityManagerResourceFactory this$0;

   aj(EntityManagerResourceFactory var1) {
      this.this$0 = var1;
   }

   public Object call(PersistentEntity var1) throws ObjectModelException {
      return this.this$0.identify(this.this$0.asResource(this.this$0.loadEntityBag(var1)), var1);
   }
}
