Package org.apache.tuscany.sca.core.assembly

Examples of org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop()


                    break;
                }
            }
            if (toRemove != null) {
                CompositeActivatorImpl activator = (CompositeActivatorImpl) compositeActivator;
                activator.stop(source, toRemove);
                activator.deactivate(source,
                        (RuntimeComponentReference) toRemove);
                compositeBuilder.detachWire(composite, source, toRemove);
            } else {
                throw new ComponentNotFoundException("Not found component "
View Full Code Here


        } else {
            // start again
            try {
                composite.getComponents().remove(toRemove);
                CompositeActivatorImpl impl = (CompositeActivatorImpl) compositeActivator;
                impl.stop(toRemove);
                impl.deactivateComponent(toRemove);
                CompositeBuilderImpl builder = (CompositeBuilderImpl) compositeBuilder;
                builder.detach(composite, toRemove);
            } catch (Exception e) {
                throw new CompositeUpdaterException(
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.