Java Code Examples for org.aspectj.runtime.reflect.Factory#makeJP()

The following examples show how to use org.aspectj.runtime.reflect.Factory#makeJP() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TIPSystemIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.TIPSystemIntegrationModuleImpl#getStatusMessages",
   logger = "org.perf4j.TimingLogger_Executor"
)
public String getStatusMessages(String sGuid, String dGuid) throws IntegrationModuleException {
   JoinPoint var14 = Factory.makeJP(ajc$tjp_6, this, this, sGuid, dGuid);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var15 = new Object[]{this, sGuid, dGuid, var14};
   ProceedingJoinPoint var10001 = (new TIPSystemIntegrationModuleImpl$AjcClosure13(var15)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$6;
   if (ajc$anno$6 == null) {
      var10002 = ajc$anno$6 = TIPSystemIntegrationModuleImpl.class.getDeclaredMethod("getStatusMessages", String.class, String.class).getAnnotation(Profiled.class);
   }

   return (String)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 2
Source File: ETKHelper.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ETKHelper#getTIP_ETK",
   logger = "org.perf4j.TimingLogger_Common"
)
public List<EncryptionToken> getTIP_ETK(String tipId) throws IntegrationModuleException {
   JoinPoint var3 = Factory.makeJP(ajc$tjp_3, this, this, (Object)tipId);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var4 = new Object[]{this, tipId, var3};
   ProceedingJoinPoint var10001 = (new ETKHelper$AjcClosure7(var4)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$3;
   if (ajc$anno$3 == null) {
      var10002 = ajc$anno$3 = ETKHelper.class.getDeclaredMethod("getTIP_ETK", String.class).getAnnotation(Profiled.class);
   }

   return (List)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 3
Source File: KmehrHelper.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.IntegrationModule#XMLPrescriptionValidation"
)
public void assertValidKmehrPrescription(byte[] xmlDocument, String prescriptionType) throws IntegrationModuleException {
   JoinPoint var8 = Factory.makeJP(ajc$tjp_2, this, this, xmlDocument, prescriptionType);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var9 = new Object[]{this, xmlDocument, prescriptionType, var8};
   ProceedingJoinPoint var10001 = (new KmehrHelper$AjcClosure5(var9)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$2;
   if (ajc$anno$2 == null) {
      var10002 = ajc$anno$2 = KmehrHelper.class.getDeclaredMethod("assertValidKmehrPrescription", byte[].class, String.class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 4
Source File: KmehrHelper.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.IntegrationModule#XMLFeedbackValidation"
)
public void assertValidFeedback(byte[] xmlDocument) throws IntegrationModuleException {
   JoinPoint var3 = Factory.makeJP(ajc$tjp_1, this, this, (Object)xmlDocument);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var4 = new Object[]{this, xmlDocument, var3};
   ProceedingJoinPoint var10001 = (new KmehrHelper$AjcClosure3(var4)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$1;
   if (ajc$anno$1 == null) {
      var10002 = ajc$anno$1 = KmehrHelper.class.getDeclaredMethod("assertValidFeedback", byte[].class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 5
Source File: KmehrHelper.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "IntegrationModule#XMLNotificationValidation"
)
public void assertValidNotification(byte[] xmlDocument) throws IntegrationModuleException {
   JoinPoint var3 = Factory.makeJP(ajc$tjp_0, this, this, (Object)xmlDocument);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var4 = new Object[]{this, xmlDocument, var3};
   ProceedingJoinPoint var10001 = (new KmehrHelper$AjcClosure1(var4)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$0;
   if (ajc$anno$0 == null) {
      var10002 = ajc$anno$0 = KmehrHelper.class.getDeclaredMethod("assertValidNotification", byte[].class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 6
Source File: PrescriberIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PrescriberIntegrationModule#revokePrescription"
)
public void revokePrescription(String rid, String reason) throws IntegrationModuleException {
   JoinPoint var11 = Factory.makeJP(ajc$tjp_3, this, this, rid, reason);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var12 = new Object[]{this, rid, reason, var11};
   ProceedingJoinPoint var10001 = (new PrescriberIntegrationModuleImpl$AjcClosure7(var12)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$3;
   if (ajc$anno$3 == null) {
      var10002 = ajc$anno$3 = PrescriberIntegrationModuleImpl.class.getDeclaredMethod("revokePrescription", String.class, String.class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 7
Source File: PCDHIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PCDHIntegrationModuleImpl#getData",
   logger = "org.perf4j.TimingLogger_Executor"
)
public String getData(String patientIdType, String patientId, String dataType, String dateRange, boolean ExcludeOwnData, byte[] localData, boolean requestPatientSignature, ThreeStateBoolean therapeuticRelationShip) throws IntegrationModuleException {
   JoinPoint.StaticPart var10000 = ajc$tjp_3;
   Object[] var33 = new Object[]{patientIdType, patientId, dataType, dateRange, Conversions.booleanObject(ExcludeOwnData), localData, Conversions.booleanObject(requestPatientSignature), therapeuticRelationShip};
   JoinPoint var32 = Factory.makeJP(var10000, this, this, (Object[])var33);
   TimingAspect var35 = TimingAspect.aspectOf();
   Object[] var34 = new Object[]{this, patientIdType, patientId, dataType, dateRange, Conversions.booleanObject(ExcludeOwnData), localData, Conversions.booleanObject(requestPatientSignature), therapeuticRelationShip, var32};
   ProceedingJoinPoint var10001 = (new PCDHIntegrationModuleImpl$AjcClosure7(var34)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$3;
   if (ajc$anno$3 == null) {
      var10002 = ajc$anno$3 = PCDHIntegrationModuleImpl.class.getDeclaredMethod("getData", String.class, String.class, String.class, String.class, Boolean.TYPE, byte[].class, Boolean.TYPE, ThreeStateBoolean.class).getAnnotation(Profiled.class);
   }

   return (String)var35.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 8
Source File: PCDHIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PCDHIntegrationModuleImpl#getPharmacyDetails",
   logger = "org.perf4j.TimingLogger_Executor"
)
public String getPharmacyDetails(String patientIdType, String patientId, String dGuid, String motivationType, String motivationText, boolean requestPatientSignature, ThreeStateBoolean therapeuticRelationShip) throws IntegrationModuleException {
   JoinPoint.StaticPart var10000 = ajc$tjp_2;
   Object[] var30 = new Object[]{patientIdType, patientId, dGuid, motivationType, motivationText, Conversions.booleanObject(requestPatientSignature), therapeuticRelationShip};
   JoinPoint var29 = Factory.makeJP(var10000, this, this, (Object[])var30);
   TimingAspect var32 = TimingAspect.aspectOf();
   Object[] var31 = new Object[]{this, patientIdType, patientId, dGuid, motivationType, motivationText, Conversions.booleanObject(requestPatientSignature), therapeuticRelationShip, var29};
   ProceedingJoinPoint var10001 = (new PCDHIntegrationModuleImpl$AjcClosure5(var31)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$2;
   if (ajc$anno$2 == null) {
      var10002 = ajc$anno$2 = PCDHIntegrationModuleImpl.class.getDeclaredMethod("getPharmacyDetails", String.class, String.class, String.class, String.class, String.class, Boolean.TYPE, ThreeStateBoolean.class).getAnnotation(Profiled.class);
   }

   return (String)var32.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 9
Source File: PrescriberIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PrescriberIntegrationModule#updateFeedbackFlag"
)
public void updateFeedbackFlag(String rid, boolean feedbackAllowed) throws IntegrationModuleException {
   JoinPoint var11 = Factory.makeJP(ajc$tjp_8, this, this, rid, Conversions.booleanObject(feedbackAllowed));
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var12 = new Object[]{this, rid, Conversions.booleanObject(feedbackAllowed), var11};
   ProceedingJoinPoint var10001 = (new PrescriberIntegrationModuleImpl$AjcClosure17(var12)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$8;
   if (ajc$anno$8 == null) {
      var10002 = ajc$anno$8 = PrescriberIntegrationModuleImpl.class.getDeclaredMethod("updateFeedbackFlag", String.class, Boolean.TYPE).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 10
Source File: PCDHIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PCDHIntegrationModuleImpl#getMedicationSchemeTimestamps",
   logger = "org.perf4j.TimingLogger_Executor"
)
public RetrieveTimestampsResponse getMedicationSchemeTimestamps(RetrieveTimestampsRequest retrieveTimestampsRequest) throws IntegrationModuleException {
   JoinPoint var18 = Factory.makeJP(ajc$tjp_0, this, this, (Object)retrieveTimestampsRequest);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var19 = new Object[]{this, retrieveTimestampsRequest, var18};
   ProceedingJoinPoint var10001 = (new PCDHIntegrationModuleImpl$AjcClosure1(var19)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$0;
   if (ajc$anno$0 == null) {
      var10002 = ajc$anno$0 = PCDHIntegrationModuleImpl.class.getDeclaredMethod("getMedicationSchemeTimestamps", RetrieveTimestampsRequest.class).getAnnotation(Profiled.class);
   }

   return (RetrieveTimestampsResponse)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 11
Source File: ExecutorIntegrationModuleV3Impl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ExecutorIntegrationModule#markAsArchived"
)
public void markAsArchived(String rid) throws IntegrationModuleException {
   JoinPoint var6 = Factory.makeJP(ajc$tjp_1, this, this, (Object)rid);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var7 = new Object[]{this, rid, var6};
   ProceedingJoinPoint var10001 = (new ExecutorIntegrationModuleV3Impl$AjcClosure3(var7)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$1;
   if (ajc$anno$1 == null) {
      var10002 = ajc$anno$1 = ExecutorIntegrationModuleV3Impl.class.getDeclaredMethod("markAsArchived", String.class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 12
Source File: PrescriberIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PrescriberIntegrationModule#sealNotification"
)
protected byte[] sealNotification(EncryptionToken paramEncryptionToken, byte[] paramArrayOfByte) throws IntegrationModuleException {
   JoinPoint var5 = Factory.makeJP(ajc$tjp_12, this, this, paramEncryptionToken, paramArrayOfByte);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var6 = new Object[]{this, paramEncryptionToken, paramArrayOfByte, var5};
   ProceedingJoinPoint var10001 = (new PrescriberIntegrationModuleImpl$AjcClosure25(var6)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$12;
   if (ajc$anno$12 == null) {
      var10002 = ajc$anno$12 = PrescriberIntegrationModuleImpl.class.getDeclaredMethod("sealNotification", EncryptionToken.class, byte[].class).getAnnotation(Profiled.class);
   }

   return (byte[])var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 13
Source File: TIPSystemIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "{$1}.TIPSystemIntegrationModuleImpl#revokeData",
   logger = "org.perf4j.TimingLogger_Executor"
)
public void revokeData(byte[] singleMessage, String tipId, boolean requestPatientSignature, ThreeStateBoolean patientConsent) throws IntegrationModuleException {
   JoinPoint.StaticPart var10000 = ajc$tjp_4;
   Object[] var20 = new Object[]{singleMessage, tipId, Conversions.booleanObject(requestPatientSignature), patientConsent};
   JoinPoint var19 = Factory.makeJP(var10000, this, this, (Object[])var20);
   TimingAspect var22 = TimingAspect.aspectOf();
   Object[] var21 = new Object[]{this, singleMessage, tipId, Conversions.booleanObject(requestPatientSignature), patientConsent, var19};
   ProceedingJoinPoint var10001 = (new TIPSystemIntegrationModuleImpl$AjcClosure9(var21)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$4;
   if (ajc$anno$4 == null) {
      var10002 = ajc$anno$4 = TIPSystemIntegrationModuleImpl.class.getDeclaredMethod("revokeData", byte[].class, String.class, Boolean.TYPE, ThreeStateBoolean.class).getAnnotation(Profiled.class);
   }

   var22.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 14
Source File: ExecutorIntegrationModuleV3Impl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ExecutorIntegrationModule#revokePrescription"
)
public void revokePrescription(String rid, String reason) throws IntegrationModuleException {
   JoinPoint var8 = Factory.makeJP(ajc$tjp_4, this, this, rid, reason);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var9 = new Object[]{this, rid, reason, var8};
   ProceedingJoinPoint var10001 = (new ExecutorIntegrationModuleV3Impl$AjcClosure9(var9)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$4;
   if (ajc$anno$4 == null) {
      var10002 = ajc$anno$4 = ExecutorIntegrationModuleV3Impl.class.getDeclaredMethod("revokePrescription", String.class, String.class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 15
Source File: ETKHelper.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ETKHelper#getRecipe_ETK",
   logger = "org.perf4j.TimingLogger_Common"
)
public List<EncryptionToken> getRecipe_ETK() throws IntegrationModuleException {
   JoinPoint var1 = Factory.makeJP(ajc$tjp_1, this, this);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var2 = new Object[]{this, var1};
   ProceedingJoinPoint var10001 = (new ETKHelper$AjcClosure3(var2)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$1;
   if (ajc$anno$1 == null) {
      var10002 = ajc$anno$1 = ETKHelper.class.getDeclaredMethod("getRecipe_ETK").getAnnotation(Profiled.class);
   }

   return (List)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 16
Source File: ETKHelper.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ETKHelper#getSystemETK",
   logger = "org.perf4j.TimingLogger_Common"
)
public List<EncryptionToken> getSystemETK() throws IntegrationModuleException {
   JoinPoint var9 = Factory.makeJP(ajc$tjp_5, this, this);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var10 = new Object[]{this, var9};
   ProceedingJoinPoint var10001 = (new ETKHelper$AjcClosure11(var10)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$5;
   if (ajc$anno$5 == null) {
      var10002 = ajc$anno$5 = ETKHelper.class.getDeclaredMethod("getSystemETK").getAnnotation(Profiled.class);
   }

   return (List)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 17
Source File: PrescriberIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PrescriberIntegrationModule#listOpenPrescription"
)
public List<String> listOpenPrescription(String patientId) throws IntegrationModuleException {
   JoinPoint var9 = Factory.makeJP(ajc$tjp_5, this, this, (Object)patientId);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var10 = new Object[]{this, patientId, var9};
   ProceedingJoinPoint var10001 = (new PrescriberIntegrationModuleImpl$AjcClosure11(var10)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$5;
   if (ajc$anno$5 == null) {
      var10002 = ajc$anno$5 = PrescriberIntegrationModuleImpl.class.getDeclaredMethod("listOpenPrescription", String.class).getAnnotation(Profiled.class);
   }

   return (List)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 18
Source File: ExecutorIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ExecutorIntegrationModule#markAsUndelivered"
)
public void markAsUndelivered(String rid) throws IntegrationModuleException {
   JoinPoint var6 = Factory.makeJP(ajc$tjp_3, this, this, (Object)rid);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var7 = new Object[]{this, rid, var6};
   ProceedingJoinPoint var10001 = (new ExecutorIntegrationModuleImpl$AjcClosure7(var7)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$3;
   if (ajc$anno$3 == null) {
      var10002 = ajc$anno$3 = ExecutorIntegrationModuleImpl.class.getDeclaredMethod("markAsUndelivered", String.class).getAnnotation(Profiled.class);
   }

   var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 19
Source File: PrescriberIntegrationModuleImpl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.PrescriberIntegrationModule#listOpenPrescription"
)
public List<String> listOpenPrescription() throws IntegrationModuleException {
   JoinPoint var1 = Factory.makeJP(ajc$tjp_6, this, this);
   TimingAspect var10000 = TimingAspect.aspectOf();
   Object[] var2 = new Object[]{this, var1};
   ProceedingJoinPoint var10001 = (new PrescriberIntegrationModuleImpl$AjcClosure13(var2)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$6;
   if (ajc$anno$6 == null) {
      var10002 = ajc$anno$6 = PrescriberIntegrationModuleImpl.class.getDeclaredMethod("listOpenPrescription").getAnnotation(Profiled.class);
   }

   return (List)var10000.doPerfLogging(var10001, (Profiled)var10002);
}
 
Example 20
Source File: ExecutorIntegrationModuleV3Impl.java    From freehealth-connector with GNU Affero General Public License v3.0 6 votes vote down vote up
@Profiled(
   logFailuresSeparately = true,
   tag = "0.ExecutorIntegrationModule#createFeedback"
)
public void createFeedback(String prescriberId, String rid, byte[] feedbackText) throws IntegrationModuleException {
   JoinPoint.StaticPart var10000 = ajc$tjp_6;
   Object[] var15 = new Object[]{prescriberId, rid, feedbackText};
   JoinPoint var14 = Factory.makeJP(var10000, this, this, (Object[])var15);
   TimingAspect var17 = TimingAspect.aspectOf();
   Object[] var16 = new Object[]{this, prescriberId, rid, feedbackText, var14};
   ProceedingJoinPoint var10001 = (new ExecutorIntegrationModuleV3Impl$AjcClosure13(var16)).linkClosureAndJoinPoint(69648);
   Annotation var10002 = ajc$anno$6;
   if (ajc$anno$6 == null) {
      var10002 = ajc$anno$6 = ExecutorIntegrationModuleV3Impl.class.getDeclaredMethod("createFeedback", String.class, String.class, byte[].class).getAnnotation(Profiled.class);
   }

   var17.doPerfLogging(var10001, (Profiled)var10002);
}