Examples of XAPool


Examples of org.jboss.jca.common.api.metadata.common.XaPool

                setAttribute(model, POOL_FLUSH_STRATEGY, pool.getFlushStrategy().name());
            setAttribute(model, POOL_PREFILL, pool.isPrefill());

            if (connDef.isXa()) {
                assert connDef.getPool() instanceof XaPool;
                XaPool xaPool = (XaPool) connDef.getPool();
                setAttribute(model, WRAP_XA_RESOURCE, xaPool.isWrapXaResource());
                setAttribute(model, SAME_RM_OVERRIDE, xaPool.isSameRmOverride());
                setAttribute(model, PAD_XID, xaPool.isPadXid());
                setAttribute(model, INTERLEAVING, xaPool.isInterleaving());
                setAttribute(model, NOTXSEPARATEPOOL, xaPool.isNoTxSeparatePool());
            }
        }
        final Security security = connDef.getSecurity();
        if (security != null) {
            setAttribute(model, SECURITY_DOMAIN_AND_APPLICATION, security.getSecurityDomainAndApplication());
View Full Code Here

Examples of org.jboss.jca.common.api.metadata.common.XaPool

        } else if (attributeName.equals(Constants.USE_CCM.getName())) {
            setBooleanIfNotNull(context, dataSource.isUseCcm());
        } else if (attributeName.equals(Constants.JTA.getName())) {
            setBooleanIfNotNull(context, true);
        } else if (attributeName.equals(Constants.ALLOW_MULTIPLE_USERS.getName())) {
            XaPool pool = dataSource.getXaPool();
            if (!(pool instanceof DsXaPool)) {
                return;
            }
            setBooleanIfNotNull(context, ((DsXaPool) pool).isAllowMultipleUsers());
        } else if (attributeName.equals(Constants.CONNECTION_LISTENER_CLASS.getName())) {
            XaPool pool = dataSource.getXaPool();
            if (!(pool instanceof DsXaPool) || ((DsXaPool) pool).getConnectionListener() == null) {
                return;
            }
            setStringIfNotNull(context, ((DsXaPool) pool).getConnectionListener().getClassName());

        } else if (attributeName.equals(Constants.CONNECTION_LISTENER_PROPERTIES.getName())) {
            XaPool pool = dataSource.getXaPool();
            if (!(pool instanceof DsXaPool) || ((DsXaPool) pool).getConnectionListener() == null) {
                return;
            }
            final Map<String, String> propertiesMap = ((DsXaPool) pool).getConnectionListener().getConfigPropertiesMap();
            if (propertiesMap == null) {
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.