Package javax.jbi.component

Examples of javax.jbi.component.ServiceUnitManager.stop()


                    String componentName = sus[i].getTarget().getComponentName();
                    Component component = container.getComponent(componentName);
                    if (component != null) {
                        ServiceUnitManager sum = component.getServiceUnitManager();
                        if (sum != null) {
                            sum.stop(sus[i].getIdentification().getName());
                        }
                    }
                }
            }
            result = DeploymentServiceMBean.STOPPED;
View Full Code Here


        checkComponentStarted("stop");
        final ServiceUnitManager sum = getServiceUnitManager();
        new TimedOutExecutor(getComponentClassLoader(), "stop " + getName(),
                new Callable<Object>() {
                    public Object call() throws Exception {
                        sum.stop(getName());
                        return null;
                    }
                }).execute(getDeploymentTimeout());
        currentState = STOPPED;
    }
View Full Code Here

        checkComponentStarted("stop");
        ServiceUnitManager sum = getServiceUnitManager();
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        try {
            Thread.currentThread().setContextClassLoader(getComponentClassLoader());
            sum.stop(getName());
        } finally {
            Thread.currentThread().setContextClassLoader(cl);
        }
        currentState = STOPPED;
    }
View Full Code Here

        checkComponentStarted("stop");
        ServiceUnitManager sum = getServiceUnitManager();
        ClassLoader cl = Thread.currentThread().getContextClassLoader();
        try {
            Thread.currentThread().setContextClassLoader(getComponentClassLoader());
            sum.stop(getName());
        } finally {
            Thread.currentThread().setContextClassLoader(cl);
        }
        currentState = STOPPED;
    }
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.