Package com.sun.ejb

Class 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 Detail

      • ejbName

        public String ejbName
      • method

        public Method method
      • methodIntf

        public String methodIntf
      • txAttr

        public int txAttr
      • 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
      • aroundMethod

        public Method aroundMethod
      • isEjbTimeout

        public boolean isEjbTimeout
      • isTxRequiredLocalCMPField

        public boolean isTxRequiredLocalCMPField
      • str_method_sig

        public String str_method_sig
    • Constructor Detail

      • InvocationInfo

        public InvocationInfo()
      • InvocationInfo

        public InvocationInfo​(Method method)
    • Method Detail

      • setIsAsynchronous

        public void setIsAsynchronous​(boolean val)
      • isAsynchronous

        public boolean isAsynchronous()