// Path: airomem-direct/src/main/java/pl/setblack/airomem/direct/OperationType.java
// public enum OperationType {
// 
//     WRITE,
//     READ_FAST,
//     READ_COMMITTED;
// }


import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import javax.enterprise.context.ApplicationScoped;
import javax.swing.text.html.FormSubmitEvent;
import pl.setblack.airomem.direct.OperationType;
/*
 *  Copyright (c) Jarek Ratajski, Licensed under the Apache License, Version 2.0
 *  http://www.apache.org/licenses/LICENSE-2.0
 */
package pl.setblack.airomem.direct.impl;


/**
 * Analyzes transaction kind.
 */
@ApplicationScoped
public class TransactionAnalyzer {

    private Class[] WRITE_ANNOTATIONS = {};

    private Class[] READ_FAST_ANNOTATIONS = {javax.ws.rs.GET.class};

// Path: airomem-direct/src/main/java/pl/setblack/airomem/direct/OperationType.java
// public enum OperationType {
// 
//     WRITE,
//     READ_FAST,
//     READ_COMMITTED;
// }


// Path: airomem-direct/src/main/java/pl/setblack/airomem/direct/impl/TransactionAnalyzer.java
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
import javax.enterprise.context.ApplicationScoped;
import javax.swing.text.html.FormSubmitEvent;
import pl.setblack.airomem.direct.OperationType;

/*
 *  Copyright (c) Jarek Ratajski, Licensed under the Apache License, Version 2.0
 *  http://www.apache.org/licenses/LICENSE-2.0
 */
package pl.setblack.airomem.direct.impl;


/**
 * Analyzes transaction kind.
 */
@ApplicationScoped
public class TransactionAnalyzer {

    private Class[] WRITE_ANNOTATIONS = {};

    private Class[] READ_FAST_ANNOTATIONS = {javax.ws.rs.GET.class};

    public OperationType sayTypeOf(final Method method) {