public void setExcludeDefaultInterceptors ( boolean exclude ) throws EJBConfigurationException { if ( ivBindingStyle == BindingStyle . STYLE1 ) { // CNTR0225E: The exclude-default-interceptors element in the deployment // descriptor is not valid for a style 1 interceptor-binding element. Tr . error ( tc , "INVALID_EXCLUDE_DEFAULT_INTERCEPTORS_CNTR0225E" ) ; // d463727 throw new EJBConfigurationException ( " CNTR0225E: Invalid use of the exclude-default-interceptors" + " element in interceptor-binding for EJB name \"*\"" ) ; } else { ivExcludeDefaultLevelInterceptors = ( exclude ) ? Boolean . TRUE : Boolean . FALSE ; } }
Set whether to exclude default interceptors from either a class or method level EJBInterceptorBinding object .