Package org.apache.catalina.deploy

Examples of org.apache.catalina.deploy.NamingResources.addEjb()


        NamingResources resources = new NamingResources();
        ContextEjb ejb = new ContextEjb();
        ejb.setName("ejb/Service");
        ejb.setType("org.super.Bean");
        ejb.setHome("org.super.BeanHome");
        resources.addEjb(ejb);
        String aspectedResult = "<GlobalNamingResources>" + LF.LINE_SEPARATOR
                + "  <EJB" + LF.LINE_SEPARATOR
                + "    home=\"org.super.BeanHome\"" + LF.LINE_SEPARATOR
                + "    name=\"ejb/Service\"" + LF.LINE_SEPARATOR
                + "    type=\"org.super.Bean\"/>" + LF.LINE_SEPARATOR
View Full Code Here


        NamingResources resources = new NamingResources();
        ContextEjb ejb = new ContextEjb();
        ejb.setName("ejb/Service");
        ejb.setType("org.super.Bean");
        ejb.setHome("org.super.BeanHome");
        resources.addEjb(ejb);
        String aspectedResult = "<GlobalNamingResources>" + LF.LINE_SEPARATOR
                + "  <EJB" + LF.LINE_SEPARATOR
                + "    home=\"org.super.BeanHome\"" + LF.LINE_SEPARATOR
                + "    name=\"ejb/Service\"" + LF.LINE_SEPARATOR
                + "    type=\"org.super.Bean\"/>" + LF.LINE_SEPARATOR
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.