Package org.jboss.as.ee.component.interceptors

Examples of org.jboss.as.ee.component.interceptors.OrderedItemContainer


    public CmpEntityBeanComponentCreateService(final ComponentConfiguration componentConfiguration, final ApplicationExceptions applicationExceptions) {
        super(componentConfiguration, applicationExceptions);
        final CmpEntityBeanComponentDescription cmpDescription = CmpEntityBeanComponentDescription.class.cast(componentConfiguration.getComponentDescription());
        entityMetaData = cmpDescription.getEntityMetaData();

        final OrderedItemContainer interceptors = new OrderedItemContainer();
        interceptors.add(CmpEntityBeanSynchronizationInterceptor.FACTORY, InterceptorOrder.Component.SYNCHRONIZATION_INTERCEPTOR);
        interceptors.add(EntityBeanReentrancyInterceptor.FACTORY, InterceptorOrder.Component.REENTRANCY_INTERCEPTOR);
        interceptors.add(CurrentInvocationContextInterceptor.FACTORY, InterceptorOrder.ComponentPostConstruct.EJB_SESSION_CONTEXT_INTERCEPTOR);
        interceptors.add(CmpEntityBeanJdbcRelationshipInterceptor.FACTORY, InterceptorOrder.Component.CMP_RELATIONSHIP_INTERCEPTOR);

        this.relationInterceptorFactory = Interceptors.getChainedInterceptorFactory(interceptors.getSortedItems());
    }
View Full Code Here

TOP

Related Classes of org.jboss.as.ee.component.interceptors.OrderedItemContainer

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.