Package org.openejb

Examples of org.openejb.ContainerIndex


    public static Object invokeEJB(String ejbName,
                                   String methodName,
                                   Class[] parmClasses,
                                   Object[] parameters) throws AxisFault {
        try {
            ContainerIndex index = ContainerIndex.getInstance();
            int length = index.length();
            log.info("number of continers " + length);
            for (int i = 0; i < length; i++) {
                EJBContainer contianer = index.getContainer(i);
                if (contianer != null) {
                    String name = contianer.getEJBName();
                    log.debug("found the ejb " + name);
                    if (ejbName.equals(name)) {
                        EJBHome statelessHome = contianer.getEJBHome();
View Full Code Here


        String ejbName,
        String methodName,
        Class[] parmClasses,
        Object[] parameters)throws AxisFault{
            try {
                ContainerIndex index = ContainerIndex.getInstance();
                int length = index.length();
                System.out.println("number of continers "+length);
                for(int i = 0;i<length;i++){
                    EJBContainer contianer = index.getContainer(i);
                    if(contianer!= null){
                        String name = contianer.getEJBName();
                        System.out.println("found the ejb "+name);
                        log.debug("found the ejb "+name);
                        if(ejbName.equals(name)){
View Full Code Here

TOP

Related Classes of org.openejb.ContainerIndex

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.