Package org.codehaus.spice.jndikit.test

Examples of org.codehaus.spice.jndikit.test.TestStateFactory


            throws NamingException
        {
            final DefaultNamespace namespace = ( DefaultNamespace ) super.newNamespace(
                environment );
            namespace.addObjectFactory( new TestObjectFactory() );
            namespace.addStateFactory( new TestStateFactory() );
            return namespace;
        }
View Full Code Here


    protected Context getRoot() throws Exception
    {
        final DefaultNameParser parser = new DefaultNameParser();
        final DefaultNamespace namespace = new DefaultNamespace( parser );
        namespace.addObjectFactory( new TestObjectFactory() );
        namespace.addStateFactory( new TestStateFactory() );
        return new MemoryContext( namespace, null, null );
    }
View Full Code Here

TOP

Related Classes of org.codehaus.spice.jndikit.test.TestStateFactory

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.