com.sun.ejb
Class InvocationInfo

java.lang.Object
  extended by com.sun.ejb.InvocationInfo

public class InvocationInfo
extends java.lang.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
 java.lang.reflect.Method aroundMethod
           
 CachedPermission cachedPermission
           
 boolean checkpointEnabled
           
 boolean ejbIntfOverride
           
 java.lang.String ejbName
           
 boolean flushEnabled
           
 InterceptorManager.InterceptorChain interceptorChain
           
 boolean isBusinessMethod
           
 boolean isCreateHomeFinder
           
 boolean isEjbTimeout
           
 boolean isHomeFinder
           
 boolean isTxRequiredLocalCMPField
           
 java.lang.reflect.Method method
           
 java.lang.String methodIntf
           
 MethodLockInfo methodLockInfo
           
 EjbRemovalInfo removalInfo
           
 int securityPermissions
           
 boolean startsWithCreate
           
 boolean startsWithFind
           
 boolean startsWithFindByPrimaryKey
           
 boolean startsWithRemove
           
 java.lang.reflect.Method targetMethod1
           
 java.lang.reflect.Method targetMethod2
           
 int txAttr
           
 
Constructor Summary
InvocationInfo()
           
InvocationInfo(java.lang.reflect.Method method)
           
 
Method Summary
 boolean isAsynchronous()
           
 void setIsAsynchronous(boolean val)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ejbName

public java.lang.String ejbName

method

public java.lang.reflect.Method method

methodIntf

public java.lang.String methodIntf

txAttr

public int txAttr

securityPermissions

public int securityPermissions

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 java.lang.reflect.Method targetMethod1

targetMethod2

public java.lang.reflect.Method targetMethod2

ejbIntfOverride

public boolean ejbIntfOverride

flushEnabled

public boolean flushEnabled

checkpointEnabled

public boolean checkpointEnabled

interceptorChain

public InterceptorManager.InterceptorChain interceptorChain

aroundMethod

public java.lang.reflect.Method aroundMethod

isEjbTimeout

public boolean isEjbTimeout

removalInfo

public EjbRemovalInfo removalInfo

isTxRequiredLocalCMPField

public boolean isTxRequiredLocalCMPField

methodLockInfo

public MethodLockInfo methodLockInfo
Constructor Detail

InvocationInfo

public InvocationInfo()

InvocationInfo

public InvocationInfo(java.lang.reflect.Method method)
Method Detail

setIsAsynchronous

public void setIsAsynchronous(boolean val)

isAsynchronous

public boolean isAsynchronous()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2012 GlassFish Community. All Rights Reserved.