ee/src/main/java/org/jboss/as/ee/component/ComponentConfiguration.java
public List<InterceptorFactory> getPreDestroyInterceptors() {
        List<List<InterceptorFactory>> sortedItems = preDestroyInterceptors.getSortedItems();
        List<InterceptorFactory> interceptorFactories = new ArrayList<>();
        for(List<InterceptorFactory> i : sortedItems) {
            interceptorFactories.addAll(i);
        }
        return interceptorFactories;
    }
public List<InterceptorFactory> getPreDestroyInterceptors() {
        List<List<InterceptorFactory>> sortedItems = preDestroyInterceptors.getSortedItems();
        List<InterceptorFactory> interceptorFactories = new ArrayList<>();
        for(List<InterceptorFactory> i : sortedItems) {
            interceptorFactories.addAll(i);
        }
        return interceptorFactories;
    }
public List < InterceptorFactory > getPreDestroyInterceptors ( ) { List < List < InterceptorFactory >> sortedItems = preDestroyInterceptors . getSortedItems ( ) ; List < InterceptorFactory > interceptorFactories = new ArrayList <> ( ) ; for ( List < InterceptorFactory > i : sortedItems ) { interceptorFactories . addAll ( i ) ; } return interceptorFactories ; }
Get the pre-destroy interceptors.
<p/>
This method should only be called after all interceptors have been added

@return the sorted interceptor
Get the pre - destroy interceptors . <p / > This method should only be called after all interceptors have been added