1 45 46 47 package org.openejb; 48 49 50 import java.lang.reflect.Method ; 51 52 62 public interface DeploymentInfo { 63 64 70 final public static byte TX_NEVER = (byte)0; 71 72 78 final public static byte TX_NOT_SUPPORTED = (byte)1; 79 80 86 final public static byte TX_SUPPORTS = (byte)2; 87 88 94 final public static byte TX_MANDITORY = (byte)3; 95 96 102 final public static byte TX_REQUIRED = (byte)4; 103 104 110 final public static byte TX_REQUIRES_NEW = (byte)5; 111 112 117 final public static byte STATEFUL = (byte)6; 118 119 124 final public static byte STATELESS = (byte)7; 125 126 131 final public static byte BMP_ENTITY = (byte)8; 132 133 138 final public static byte CMP_ENTITY = (byte)9; 139 140 145 final public static byte MESSAGE_DRIVEN = (byte)10; 146 147 final public static String AC_CREATE_EJBHOME = "create.ejbhome"; 148 149 159 public byte getComponentType( ); 160 161 162 176 public byte getTransactionAttribute(Method method); 177 178 188 public String [] getAuthorizedRoles(Method method); 189 190 public String [] getAuthorizedRoles(String action); 191 192 198 public Container getContainer( ); 199 200 201 206 public Object getDeploymentID( ); 207 208 214 public boolean isBeanManagedTransaction(); 215 216 225 public Class getHomeInterface( ); 226 public Class getLocalHomeInterface( ); 227 public Class getLocalInterface( ); 228 229 238 public Class getRemoteInterface( ); 239 240 248 public Class getBeanClass( ); 249 250 256 public Class getPrimaryKeyClass( ); 257 258 268 public java.lang.reflect.Field getPrimaryKeyField( ); 269 270 271 278 public boolean isReentrant(); 279 280 281 } 282 | Popular Tags |