1 22 package org.jboss.ejb; 23 24 26 35 public interface AllowedOperationsFlags 36 { 37 39 42 public static final int NOT_ALLOWED = 0; 43 public static final int IN_INTERCEPTOR_METHOD = (int) Math.pow(2, 0); 44 public static final int IN_EJB_ACTIVATE = (int) Math.pow(2, 1); 45 public static final int IN_EJB_PASSIVATE = (int) Math.pow(2, 2); 46 public static final int IN_EJB_REMOVE = (int) Math.pow(2, 3); 47 public static final int IN_EJB_CREATE = (int) Math.pow(2, 4); 48 public static final int IN_EJB_POST_CREATE = (int) Math.pow(2, 5); 49 public static final int IN_EJB_FIND = (int) Math.pow(2, 6); 50 public static final int IN_EJB_HOME = (int) Math.pow(2, 7); 51 public static final int IN_EJB_TIMEOUT = (int) Math.pow(2, 8); 52 public static final int IN_EJB_LOAD = (int) Math.pow(2, 9); 53 public static final int IN_EJB_STORE = (int) Math.pow(2, 10); 54 public static final int IN_SET_ENTITY_CONTEXT = (int) Math.pow(2, 11); 55 public static final int IN_UNSET_ENTITY_CONTEXT = (int) Math.pow(2, 12); 56 public static final int IN_SET_SESSION_CONTEXT = (int) Math.pow(2, 13); 57 public static final int IN_SET_MESSAGE_DRIVEN_CONTEXT = (int) Math.pow(2, 14); 58 public static final int IN_AFTER_BEGIN = (int) Math.pow(2, 15); 59 public static final int IN_BEFORE_COMPLETION = (int) Math.pow(2, 16); 60 public static final int IN_AFTER_COMPLETION = (int) Math.pow(2, 17); 61 public static final int IN_BUSINESS_METHOD = (int) Math.pow(2, 18); 62 public static final int IN_SERVICE_ENDPOINT_METHOD = (int) Math.pow(2, 19); 63 } 64 | Popular Tags |