Examples of ItfOneMethod01


Examples of org.ow2.easybeans.tests.common.ejbs.base.ItfOneMethod01

     * Check the SessionContext.
     * @throws Exception if a problem occurs.
     */
    public void check() throws Exception {
        if (ctx != null) {
            ItfOneMethod01 bean = (ItfOneMethod01) ctx.lookup("ejb/bean00");
            bean.getBool();
        } else {
            throw new Exception("SessionContext should be initialized.");
        }
    }
View Full Code Here

Examples of org.ow2.easybeans.tests.common.ejbs.base.ItfOneMethod01

     * Check the SessionContext.
     * @throws Exception if a problem occurs.
     */
    public void check() throws Exception {
        if (ctx != null) {
            ItfOneMethod01 bean = (ItfOneMethod01) ctx.lookup("ejb/bean00");
            bean.getBool();
        } else {
            throw new Exception("SessionContext should be initialized.");
        }
    }
View Full Code Here

Examples of org.ow2.easybeans.tests.common.ejbs.base.ItfOneMethod01

            DataSource ds = (DataSource) ctx.lookup("jdbc/ds01");
            checkResource(ds);
            log(MDBListenerMethodAccess.class, ON_MESSAGE, MDBListenerMethodAccess.class, RESOURCE_MANAGER);

        } else if (isEqual(ENTERPRISE_BEAN, op)) {
            ItfOneMethod01 bean = (ItfOneMethod01) ctx.lookup("ejb/bean01");
            bean.getBool();
            log(MDBListenerMethodAccess.class, ON_MESSAGE, MDBListenerMethodAccess.class, ENTERPRISE_BEAN);

        } else if (isEqual(ENTITY_MANAGER_FACTORY, op)) {
            EntityManagerFactory emf = (EntityManagerFactory) ctx.lookup("persistence/pu01");
            try {
View Full Code Here

Examples of org.ow2.easybeans.tests.common.ejbs.base.ItfOneMethod01

            DataSource ds = (DataSource) ctx.lookup("jdbc/ds01");
            checkResource(ds);
            log(getName(), TIMEOUT, getName(), RESOURCE_MANAGER);

        } else if (isEqual(ENTERPRISE_BEAN, op)) {
            ItfOneMethod01 bean = (ItfOneMethod01) ctx.lookup("ejb/bean01");
            bean.getBool();
            log(getName(), TIMEOUT, getName(), ENTERPRISE_BEAN);

        } else if (isEqual(ENTITY_MANAGER_FACTORY, op)) {
            EntityManagerFactory emf = (EntityManagerFactory) ctx.lookup("persistence/pu01");
            try {
View Full Code Here

Examples of org.ow2.easybeans.tests.common.ejbs.base.ItfOneMethod01

     * @param bean bean instance
     * @param <E> type
     */
    @Override
    public <E> void invokeMethod(final int n, final E bean) {
        ItfOneMethod01 b = (ItfOneMethod01) bean;
        b.getBool();
    }
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.