Examples of EmptyType


Examples of org.apache.openejb.jee.EmptyType

        SingletonBean bean = new SingletonBean(WidgetBean.class);
        bean.addBusinessLocal(Widget.class.getName());
        bean.addBusinessRemote(RemoteWidget.class.getName());
        bean.addPostConstruct("init");
        bean.addPreDestroy("destroy");
        bean.setLocalBean(new EmptyType());

        EjbJar ejbJar = new EjbJar();
        ejbJar.addEnterpriseBean(bean);

        assembler.createApplication(config.configureApplication(ejbJar));
View Full Code Here

Examples of org.apache.openejb.jee.EmptyType

            // It goes a little beyond that, but no one has ever complained about having
            // more local interfaces.
            if (!strict) for (Class interfce : all.unspecified) sessionBean.addBusinessLocal(interfce);

            if (beanClass.getAnnotation(LocalBean.class) != null || beanClass.getInterfaces().length == 0) {
                sessionBean.setLocalBean(new EmptyType());
            }

        }
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.