FileDocCategorySizeDatePackage
InvocationInfo.javaAPI DocGlassfish v2 API4484Fri May 04 22:32:54 BST 2007com.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

Fields Summary
public String
ejbName
public Method
method
public String
methodIntf
public int
txAttr
public int
securityPermissions
public com.sun.enterprise.security.CachedPermission
cachedPermission
public boolean
isBusinessMethod
public boolean
isHomeFinder
public boolean
isCreateHomeFinder
public boolean
startsWithCreate
public boolean
startsWithFind
public boolean
startsWithRemove
public boolean
startsWithFindByPrimaryKey
public Method
targetMethod1
public Method
targetMethod2
public boolean
ejbIntfOverride
public boolean
flushEnabled
public boolean
checkpointEnabled
public Invocation.InterceptorChain
interceptorChain
public com.sun.enterprise.deployment.EjbRemovalInfo
removalInfo
public boolean
isTxRequiredLocalCMPField
Constructors Summary
public InvocationInfo(Method method)

    
       
        this.method = method;
    
Methods Summary
public java.lang.StringtoString()

        StringBuffer sb = new StringBuffer();
        sb.append("Invocation Info for ejb " + ejbName + "\t");
        sb.append("method = " + method + "\t");
        sb.append("methodIntf = " + methodIntf + "\t");
        sb.append("tx attr = " + Container.txAttrStrings[txAttr] + "\t");
        sb.append("Cached permission = " + cachedPermission + "\t");
        sb.append("target method 1 = " + targetMethod1 + "\t");
        sb.append("target method 2 = " + targetMethod2 + "\t");
        sb.append("ejbIntfOverride = " + ejbIntfOverride + "\t");
        sb.append("flushenabled = " + flushEnabled + "\t");
        sb.append("checkpointenabled = " + checkpointEnabled + "\t");
        sb.append("removalInfo = " + removalInfo + "\t");
        sb.append("\n");
        return sb.toString();