Package org.jboss.test.gravia.itests.sub.b1

Examples of org.jboss.test.gravia.itests.sub.b1.ModuleStateB


public class ModuleActivatorB implements ModuleActivator {

    @Override
    public void start(final ModuleContext context) throws Exception {
        MBeanServer server = ServiceLocator.getRequiredService(context, MBeanServer.class);
        ModuleStateB moduleState = new ModuleStateB() {
            @Override
            public String getModuleState() {
                return context.getModule().getState().toString();
            }
        };
View Full Code Here


public class SimpleModuleActivator implements ModuleActivator {

    @Override
    public void start(final ModuleContext context) throws Exception {
        MBeanServer server = ServiceLocator.getRequiredService(context, MBeanServer.class);
        SimpleModuleState moduleState = new SimpleModuleState() {

            @Override
            public String getResourceIdentity() {
                return context.getModule().getIdentity().getCanonicalForm();
            }
View Full Code Here

TOP

Related Classes of org.jboss.test.gravia.itests.sub.b1.ModuleStateB

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.