Examples of ClassFinder


Examples of org.apache.xbean.finder.ClassFinder

        XmlObject jettyWebApp = webModule.getVendorDD();

        Configuration earConfiguration = earContext.getConfiguration();

        ClassFinder classFinder = createMyFacesClassFinder(webApp, webModule);
        webModule.setClassFinder(classFinder);

        namingBuilders.buildNaming(webApp, jettyWebApp, earConfiguration, earConfiguration, webModule, buildingContext);

        AbstractName providerName = moduleContext.getNaming().createChildName(moduleName, "jsf-lifecycle", "jsf");
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder


    protected ClassFinder createMyFacesClassFinder(WebAppType webApp, WebModule webModule) throws DeploymentException {

        List<Class> classes = getFacesClasses(webApp, webModule);
        return new ClassFinder(classes);
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

                throw new DeploymentException("AbstractWebModuleBuilder: Could not load filter class: " + cls.getStringValue());
            }
            classes.add(clas);
        }

        return new ClassFinder(classes);
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

        Configuration earConfiguration = earContext.getConfiguration();

        Set<String> listenerNames = new HashSet<String>();

        ClassFinder classFinder = createJspClassFinder(webApp, webModule, listenerNames);
        webModule.setClassFinder(classFinder);

        namingBuilders.buildNaming(webApp, jettyWebApp, earConfiguration, earConfiguration, webModule, buildingContext);

        //only try to install it if reference will work.
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

    }

    protected ClassFinder createJspClassFinder(WebAppType webApp, WebModule webModule, Set<String> listenerNames) throws DeploymentException {
        List<URL> urls = getTldFiles(webApp, webModule);
        List<Class> classes = getListenerClasses(webApp, webModule, urls, listenerNames);
        return new ClassFinder(classes);
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

                throw new DeploymentException("AppClientModuleBuilder: Could not load callback-handler class: " + cls.getStringValue());
            }
            classes.add(clas);
        }

        return new ClassFinder(classes);
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

                throw new DeploymentException("AppClientModuleBuilder: Could not load callback-handler class: " + cls.getStringValue(), e);
            }
            classes.add(clas);
        }

        return new ClassFinder(classes);
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

        // not including a jar that her app needs) then ClassFinder
        // will throw NoClassDefFoundError.  we want to indicate that
        // it's the user's error and provide a little context to help
        // her fix it.
        try {
            return new ClassFinder(classes);
        } catch (NoClassDefFoundError e) {
            throw new DeploymentException("Classloader for " + webApp.getId() + "can't find " + e.getMessage(), e);
        }
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

                throw new DeploymentException("AppClientModuleBuilder: Could not load callback-handler class: " + cls, e);
            }
            classes.add(clas);
        }

        return new ClassFinder(classes);
    }
View Full Code Here

Examples of org.apache.xbean.finder.ClassFinder

        while (ejbClass != null && !ejbClass.equals(Object.class)) {
            classes.add(ejbClass);
            ejbClass = ejbClass.getSuperclass();
        }

        ClassFinder finder = new ClassFinder(classes);

        Module module = ejbModule.newEJb(finder, bean);
        bind(bean, appName, ejbModule.getName(), deploymentId, module.getJndiContext());

        OpenejbGeronimoEjbJarType geronimoOpenejb = ejbModule.getVendorDD();
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.