Package org.jboss.as.jpa.interceptor

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



    private void registerInterceptors(AbstractComponentDescription componentDescription, AnnotationInstance annotation) {
        // Register our listeners on SFSB that will be created
        if (componentDescription instanceof StatefulComponentDescription && isExtendedPersistenceContext(annotation)) {
            componentDescription.addPostConstructInterceptorFactory(new SFSBCreateInterceptorFactory());
            componentDescription.addPreDestroyInterceptorFactory(new SFSBDestroyInterceptorFactory());
            componentDescription.addInterceptorFactory(SFSBInvocationInterceptorFactory.getInstance());
        }
        // register interceptor on stateful/stateless SB with transactional entity manager.
        if (!isExtendedPersistenceContext(annotation) &&
View Full Code Here

TOP

Related Classes of org.jboss.as.jpa.interceptor.SFSBCreateInterceptorFactory

Copyright © 2018 www.massapicom. 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.