All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.api.wrapperEntry.st Maven / Gradle / Ivy

/**
* @deprecated 
*/
@Deprecated
@Override
public  () {
        Map\ metadata = (context == null) ? null : context.getMetadata();
        log.warn("Deprecated method  called by user " + ((context == null) ? "UNKNOWN" : context.getUser())
                + " from host " + ((metadata == null) ? "UNIDENTIFIED" : metadata.get("IPADDRESSES"))
                + " by class " + new Throwable().getStackTrace()[1].getFileName());
    long functionStartTime = System.currentTimeMillis();
   
    Payload requestObj = new Payload();
    requestObj.setContext(context);
    
    ContextValidator.validateContext(context, EntitlementSet._, requestObj); 
    
    long preToPostStartTime = System.currentTimeMillis();
    
    Kernel.getApiHooksService().pre(context, CallName._);

     returnValue = apiImpl.();

    apiImpl.();

    Kernel.getApiHooksService().post(context, CallName._);
    
    long endFunctionTime = System.currentTimeMillis();
    Kernel.getMetricsService().recordTimeDifference("apiMetrics.Api..fullFunctionTime.succeeded", (endFunctionTime-functionStartTime));
    Kernel.getMetricsService().recordTimeDifference("apiMetrics.Api..preToPostTime.succeeded", (endFunctionTime-preToPostStartTime));
        

    return returnValue;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy