Package com.sun.ejb.containers.util.pool

Examples of com.sun.ejb.containers.util.pool.ObjectFactory


        }

        // Create a non-blocking pool of message bean instances.
        // The protocol manager implementation enforces a limit
        // on message bean resources independent of the pool.
        ObjectFactory objFactory = new MessageBeanContextFactory();
        messageBeanPool_ = new NonBlockingPool
            (appEJBName_,
             objFactory,
             beanPoolDesc_.getSteadyPoolSize(),
             beanPoolDesc_.getPoolResizeQuantity(),
View Full Code Here


        }

        // Create a non-blocking pool of message bean instances.
        // The protocol manager implementation enforces a limit
        // on message bean resources independent of the pool.
        ObjectFactory objFactory = new MessageBeanContextFactory();
                String val = descriptor.getEjbBundleDescriptor().getEnterpriseBeansProperty(SINGLETON_BEAN_POOL_PROP);
        messageBeanPool_ = new NonBlockingPool(getContainerId(), appEJBName_, objFactory,
                beanPoolDesc_.getSteadyPoolSize(), beanPoolDesc_
                        .getPoolResizeQuantity(), beanPoolDesc_
                        .getMaxPoolSize(), beanPoolDesc_
View Full Code Here

     * Called from the ContainerFactory during initialization.
     */
    protected void initializeHome()
        throws Exception
    {
        ObjectFactory entityCtxFactory = new EntityContextFactory(this);
       
        int steadyPoolSize = 0;
        int resizeQuantity = 10;
        int idleTimeoutInSeconds = Integer.MAX_VALUE-1;
        poolProp = new PoolProperties(this);
View Full Code Here

        }

        // Create a non-blocking pool of message bean instances.
        // The protocol manager implementation enforces a limit
        // on message bean resources independent of the pool.
        ObjectFactory objFactory = new MessageBeanContextFactory();
                String val = descriptor.getEjbBundleDescriptor().getEnterpriseBeansProperty(SINGLETON_BEAN_POOL_PROP);
        messageBeanPool_ = new NonBlockingPool(getContainerId(), appEJBName_, objFactory,
                beanPoolDesc_.getSteadyPoolSize(), beanPoolDesc_
                        .getPoolResizeQuantity(), beanPoolDesc_
                        .getMaxPoolSize(), beanPoolDesc_
View Full Code Here

        registerMonitorableComponents();
    }

    protected void createBeanPool() {
        ObjectFactory sessionCtxFactory = new SessionContextFactory();

                iased = ejbDescriptor.getIASEjbExtraDescriptors();
        if( iased != null) {
            beanPoolDes = iased.getBeanPool();
        }
View Full Code Here

     * Called from the ContainerFactory during initialization.
     */
    protected void initializeHome()
        throws Exception
    {
        ObjectFactory entityCtxFactory = new EntityContextFactory(this);
       
        int steadyPoolSize = 0;
        int resizeQuantity = 10;
        int idleTimeoutInSeconds = Integer.MAX_VALUE-1;
        poolProp = new PoolProperties(this);
View Full Code Here

        }

        // Create a non-blocking pool of message bean instances.
        // The protocol manager implementation enforces a limit
        // on message bean resources independent of the pool.
        ObjectFactory objFactory = new MessageBeanContextFactory();
                String val = descriptor.getEjbBundleDescriptor().getEnterpriseBeansProperty(SINGLETON_BEAN_POOL_PROP);
        messageBeanPool_ = new NonBlockingPool(getContainerId(), appEJBName_, objFactory,
                beanPoolDesc_.getSteadyPoolSize(), beanPoolDesc_
                        .getPoolResizeQuantity(), beanPoolDesc_
                        .getMaxPoolSize(), beanPoolDesc_
View Full Code Here

        }

        // Create a non-blocking pool of message bean instances.
        // The protocol manager implementation enforces a limit
        // on message bean resources independent of the pool.
        ObjectFactory objFactory = new MessageBeanContextFactory();
                String val = descriptor.getEjbBundleDescriptor().getEnterpriseBeansProperty(SINGLETON_BEAN_POOL_PROP);
        messageBeanPool_ = new NonBlockingPool(getContainerId(), appEJBName_, objFactory,
                beanPoolDesc_.getSteadyPoolSize(), beanPoolDesc_
                        .getPoolResizeQuantity(), beanPoolDesc_
                        .getMaxPoolSize(), beanPoolDesc_
View Full Code Here

        registerMonitorableComponents();
    }

    protected void createBeanPool() {
        ObjectFactory sessionCtxFactory = new SessionContextFactory();

                iased = ejbDescriptor.getIASEjbExtraDescriptors();
        if( iased != null) {
            beanPoolDes = iased.getBeanPool();
        }
View Full Code Here

        registerMonitorableComponents();
    }

    protected void createBeanPool() {
        ObjectFactory sessionCtxFactory = new SessionContextFactory();

                iased = ejbDescriptor.getIASEjbExtraDescriptors();
        if( iased != null) {
            beanPoolDes = iased.getBeanPool();
        }
View Full Code Here

TOP

Related Classes of com.sun.ejb.containers.util.pool.ObjectFactory

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.