FileDocCategorySizeDatePackage
InterceptorBindingDescriptor.javaAPI DocGlassfish v2 API4963Fri May 04 22:31:22 BST 2007com.sun.enterprise.deployment

InterceptorBindingDescriptor

public class InterceptorBindingDescriptor extends Descriptor
Contains a single interceptor binding entry.

Fields Summary
private static com.sun.enterprise.util.LocalStringManagerImpl
localStrings
static Logger
_logger
private String
ejbName
private MethodDescriptor
businessMethod
private LinkedList
interceptors
private boolean
isTotalOrdering
private boolean
excludeDefaultInterceptors
private boolean
excludeClassInterceptors
private boolean
needsOverloadResolution
Constructors Summary
public InterceptorBindingDescriptor()


      
    
Methods Summary
public voidappendInterceptorClass(java.lang.String interceptor)

        interceptors.addLast(interceptor);
    
public com.sun.enterprise.deployment.InterceptorBindingDescriptor$BindingTypegetBindingType()

        if( ejbName.equals("*") ) {
            return BindingType.DEFAULT;
        } else if( businessMethod == null ) {
            return BindingType.CLASS;
        } else {
            return BindingType.METHOD;
        }
    
public MethodDescriptorgetBusinessMethod()

        return businessMethod;
    
public java.lang.StringgetEjbName()

        return ejbName;
    
public booleangetExcludeClassInterceptors()

        return excludeClassInterceptors;
    
public booleangetExcludeDefaultInterceptors()

        return excludeDefaultInterceptors;
    
public java.util.ListgetInterceptorClasses()

        return new LinkedList<String>(interceptors);
    
public booleangetIsTotalOrdering()

        return isTotalOrdering;
    
public booleangetNeedsOverloadResolution()

        return needsOverloadResolution;
    
public voidsetBusinessMethod(MethodDescriptor desc)

        businessMethod = desc;
    
public voidsetEjbName(java.lang.String ejb)

        ejbName = ejb;
    
public voidsetExcludeClassInterceptors(boolean flag)

        excludeClassInterceptors = flag;
    
public voidsetExcludeDefaultInterceptors(boolean flag)

        excludeDefaultInterceptors = flag;
    
public voidsetIsTotalOrdering(boolean flag)

        isTotalOrdering = flag;
    
public voidsetNeedsOverloadResolution(boolean flag)

        needsOverloadResolution = flag;