Examples of SFSBDestroyInterceptor


Examples of org.jboss.as.jpa.interceptor.SFSBDestroyInterceptor

    // Register our listeners on SFSB that will be created
    private void registerInterceptors(AbstractComponentDescription componentDescription, AnnotationInstance annotation) {
        if (componentDescription instanceof StatefulComponentDescription && isExtendedPersistenceContext(annotation)) {
            componentDescription.addPostConstructComponentLifecycle(new SFSBCreateInterceptor());
            componentDescription.addPreDestroyComponentLifecycle(new SFSBDestroyInterceptor());
            componentDescription.addInterceptorFactory(SFSBInvocationInterceptorFactory.getInstance());
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.