Package org.ow2.easybeans.naming.context

Examples of org.ow2.easybeans.naming.context.ContextImpl.lookup()


        // Create a new environment
        ContextImpl ctx = new ContextImpl(namespace, true, null);

        // Create subContext
        Context compCtx = (Context) ctx.lookup("comp");

        // Bind java:comp/UserTransaction
        if (this.userTransaction == null) {
            try {
                this.userTransaction = (UserTransaction) this.ictx.lookup("javax.transaction.UserTransaction");
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.