Package com.sun.ejb
Class InvocationInfo
- java.lang.Object
-
- com.sun.ejb.InvocationInfo
-
public class InvocationInfo extends Object
InvocationInfo caches various attributes of the method that is currently held in the invocation object (that is currently executed) This avoids some of the expensive operations like (for example) method.getName().startsWith("findByPrimaryKey") Every container maintains a HashMap of method VS invocationInfo that is populated during container initialization- Author:
- Mahesh Kannan
-
-
Field Summary
Fields Modifier and Type Field Description Method
aroundMethod
CachedPermission
cachedPermission
boolean
checkpointEnabled
boolean
ejbIntfOverride
String
ejbName
boolean
flushEnabled
InterceptorManager.InterceptorChain
interceptorChain
boolean
isBusinessMethod
boolean
isCreateHomeFinder
boolean
isEjbTimeout
boolean
isHomeFinder
boolean
isTxRequiredLocalCMPField
Method
method
String
methodIntf
MethodLockInfo
methodLockInfo
EjbRemovalInfo
removalInfo
boolean
startsWithCreate
boolean
startsWithFind
boolean
startsWithFindByPrimaryKey
boolean
startsWithRemove
String
str_method_sig
Method
targetMethod1
Method
targetMethod2
int
txAttr
-
Constructor Summary
Constructors Constructor Description InvocationInfo()
InvocationInfo(Method method)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAsynchronous()
void
setIsAsynchronous(boolean val)
String
toString()
-
-
-
Field Detail
-
ejbName
public String ejbName
-
method
public Method method
-
methodIntf
public String methodIntf
-
txAttr
public int txAttr
-
cachedPermission
public CachedPermission cachedPermission
-
isBusinessMethod
public boolean isBusinessMethod
-
isHomeFinder
public boolean isHomeFinder
-
isCreateHomeFinder
public boolean isCreateHomeFinder
-
startsWithCreate
public boolean startsWithCreate
-
startsWithFind
public boolean startsWithFind
-
startsWithRemove
public boolean startsWithRemove
-
startsWithFindByPrimaryKey
public boolean startsWithFindByPrimaryKey
-
targetMethod1
public Method targetMethod1
-
targetMethod2
public Method targetMethod2
-
ejbIntfOverride
public boolean ejbIntfOverride
-
flushEnabled
public boolean flushEnabled
-
checkpointEnabled
public boolean checkpointEnabled
-
interceptorChain
public InterceptorManager.InterceptorChain interceptorChain
-
aroundMethod
public Method aroundMethod
-
isEjbTimeout
public boolean isEjbTimeout
-
removalInfo
public EjbRemovalInfo removalInfo
-
isTxRequiredLocalCMPField
public boolean isTxRequiredLocalCMPField
-
methodLockInfo
public MethodLockInfo methodLockInfo
-
str_method_sig
public String str_method_sig
-
-
Constructor Detail
-
InvocationInfo
public InvocationInfo()
-
InvocationInfo
public InvocationInfo(Method method)
-
-