Package org.apache.geronimo.client.builder

Source Code of org.apache.geronimo.client.builder.AppClientBuilderTest

package org.apache.geronimo.client.builder;

import javax.management.ObjectName;

import junit.framework.TestCase;
import org.apache.geronimo.gbean.GBeanData;
import org.apache.geronimo.kernel.Kernel;
import org.apache.geronimo.kernel.KernelFactory;

/**
*/
public class AppClientBuilderTest extends TestCase {

    public void testAppClientGBean() throws Exception {
        Kernel kernel = KernelFactory.newInstance().createKernel("testDomain");
        kernel.boot();

        GBeanData gbeanData = new GBeanData(new ObjectName("testDomain:test=test"), AppClientModuleBuilder.GBEAN_INFO);
        kernel.loadGBean(gbeanData, AppClientModuleBuilder.class.getClassLoader());
    }
}
TOP

Related Classes of org.apache.geronimo.client.builder.AppClientBuilderTest

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.